mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-05 07:05:46 +01:00
Fix disabling of stylesheets.
This commit is contained in:
@@ -45,7 +45,7 @@ update(Sheet.prototype, {
|
||||
if (on != this._enabled || this.fullCSS != this._fullCSS) {
|
||||
if (on)
|
||||
this.enabled = false;
|
||||
else if (!this._uri)
|
||||
else if (!this._fullCSS)
|
||||
return;
|
||||
|
||||
let meth = on ? "registerSheet" : "unregisterSheet";
|
||||
|
||||
Reference in New Issue
Block a user