1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-07 20:54:11 +01:00

Fix unwanted serialization of Logo highlight group.

This commit is contained in:
Kris Maglione
2010-09-25 19:36:58 -04:00
parent 9644388a72
commit 89ddf38c11

View File

@@ -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
// </css>
]]></>),