Skip to content

Commit

Permalink
fix(browser-extension): minor bug due testing
Browse files Browse the repository at this point in the history
  • Loading branch information
wanhose committed Oct 11, 2023
1 parent f94f151 commit f0d1076
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/browser-extension/src/scripts/content.js
Expand Up @@ -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');
Expand Down

0 comments on commit f0d1076

Please sign in to comment.