Update version number: 2.0.6

This commit is contained in:
Gabe
2025-11-04 23:32:59 +08:00
parent efb3529c92
commit a56fb6c8d6
2 changed files with 1 additions and 4 deletions

View File

@@ -94,7 +94,6 @@ export const matchRule = async (href, { injectRules, subrulesList }) => {
} }
}); });
return rule; return rule;
}; };

View File

@@ -21,9 +21,7 @@ export class TransboxManager {
} }
isEnabled() { isEnabled() {
return ( return !!this.#container && document.body.contains(this.#container);
!!this.#container && document.body.contains(this.#container)
);
} }
enable() { enable() {