diff --git a/src/modules/Switcher.js b/src/modules/Switcher.js index b0c475a..04a1a0d 100644 --- a/src/modules/Switcher.js +++ b/src/modules/Switcher.js @@ -67,9 +67,9 @@ var Switcher = class { disable() { try { - this.theme.current = this.variants.original; this.theme.disable(); this.nightlight.disable(); + this.theme.current = this.variants.original; } catch(e) {} // Since we're disabling, we'll just ignore errors. finally {