fix(browser-extension): minor bug due testing

This commit is contained in:
wanhose 2023-10-11 11:25:57 +02:00
parent f94f151fac
commit f0d1076709

View File

@ -177,7 +177,7 @@ function fix() {
}
}
if (skips.some((x) => hostname.match(x.replace(/\*/g, '[^ ]*')))) {
if (skips.some((x) => !hostname.match(x.replace(/\*/g, '[^ ]*')))) {
for (const element of [document.body, document.documentElement]) {
element?.classList.remove(...(data?.classes ?? []));
element?.style.setProperty('position', 'initial', 'important');