1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-21 02:37:58 +01:00

Fix #326 (:style -append not working as expected).

This commit is contained in:
Doug Kearns
2009-08-10 07:13:15 +10:00
parent 519908eb2e
commit c43dbf510e
3 changed files with 35 additions and 25 deletions

View File

@@ -583,7 +583,7 @@ liberator.registerObserver("load_commands", function () {
if (sheet)
{
filter = sheet.sites.concat(filter).join(",");
css = sheet.css.replace(/;?\s*$/, "; " + css);
css = sheet.css + " " + css;
}
}
let err = styles.addSheet(false, name, filter, css);