Merge pull request #329 from wanhose/v6.4.3

6.4.3
This commit is contained in:
wanhose 2023-10-11 11:28:08 +02:00 committed by GitHub
commit 8e505fff5d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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]) { for (const element of [document.body, document.documentElement]) {
element?.classList.remove(...(data?.classes ?? [])); element?.classList.remove(...(data?.classes ?? []));
element?.style.setProperty('position', 'initial', 'important'); element?.style.setProperty('position', 'initial', 'important');