1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-27 02:55:46 +01:00

Fix disabling of stylesheets.

This commit is contained in:
Kris Maglione
2011-02-02 11:39:48 -05:00
parent f64acd9e0f
commit bc342751da

View File

@@ -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";