From bc342751dad027d0962ae3134dd08dc6ad74fef6 Mon Sep 17 00:00:00 2001 From: Kris Maglione Date: Wed, 2 Feb 2011 11:39:48 -0500 Subject: [PATCH] Fix disabling of stylesheets. --- common/modules/styles.jsm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/modules/styles.jsm b/common/modules/styles.jsm index 8b4d2cea..adbfd803 100644 --- a/common/modules/styles.jsm +++ b/common/modules/styles.jsm @@ -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";