mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-27 06:45:47 +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 || this.fullCSS != this._fullCSS) {
|
||||||
if (on)
|
if (on)
|
||||||
this.enabled = false;
|
this.enabled = false;
|
||||||
else if (!this._uri)
|
else if (!this._fullCSS)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
let meth = on ? "registerSheet" : "unregisterSheet";
|
let meth = on ? "registerSheet" : "unregisterSheet";
|
||||||
|
|||||||
Reference in New Issue
Block a user