diff --git a/src/ext/lib/Settings.ts b/src/ext/lib/Settings.ts index 004eddc..e306cf0 100644 --- a/src/ext/lib/Settings.ts +++ b/src/ext/lib/Settings.ts @@ -155,8 +155,6 @@ class Settings { const sorted = this.sortConfPatches(extconfPatches); return sorted.findIndex(x => this.compareExtensionVersions(x.forVersion, version) > 0); } - - applySettingsPatches(oldVersion, patches) { let index = this.findFirstNecessaryPatch(oldVersion, patches); if (index === -1) { @@ -486,7 +484,7 @@ class Settings { } extensionEnabled(){ - return this.active.sites['@global'] !== ExtensionMode.Disabled + return this.active.sites['@global'].mode !== ExtensionMode.Disabled } extensionEnabledForSite(site) {