1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-23 07:27:58 +01:00

temporarily 'fix' FF 3.0 style sheet loading bug - someone in a better time

zone track it down please
This commit is contained in:
Doug Kearns
2008-11-10 14:39:09 +00:00
parent c6ad5faf9c
commit d0a42ac0f9

View File

@@ -127,6 +127,7 @@ function Highlights(name, store, serial)
.replace(";!important;", ";", "g"); // Seeming Spidermonkey bug
css = style.selector + " { " + css + " }";
style.filter; // FIXME: needed for FF 3.0 (not 3.1) - track down when I'm awake...
let error = styles.addSheet(style.selector, style.filter, css, true, force);
if (!error)
style.value = newStyle;