From 89ddf38c1110e8ccab26b03cb169b265cf709fc3 Mon Sep 17 00:00:00 2001 From: Kris Maglione Date: Sat, 25 Sep 2010 19:36:58 -0400 Subject: [PATCH] Fix unwanted serialization of Logo highlight group. --- common/content/configbase.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/common/content/configbase.js b/common/content/configbase.js index 7a1e2ab3..8cd20004 100644 --- a/common/content/configbase.js +++ b/common/content/configbase.js @@ -24,12 +24,12 @@ const ConfigBase = Class(ModuleBase, { let img = Image(); img.src = this.logo || "chrome://" + this.name + "/content/logo.png"; img.onload = function () { - highlight.set("Logo", String(<> + highlight.loadCSS(<>{"!Logo {"} display: inline-block; background: url({img.src}); width: {img.width}px; height: {img.height}px; - )); + {"}"}); img = null; }; }, @@ -244,7 +244,6 @@ const ConfigBase = Class(ModuleBase, { !HintActive;;* background-color: #88FF00 !important; color: black !important; !HintImage;;* opacity: .5 !important; - !Logo // ]]>),