1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-07 14:24:17 +01:00

Move 'system' arg of Styles methods to arg 0, and add completion functions

This commit is contained in:
Kris Maglione
2008-12-19 17:11:05 -05:00
parent f5b2173979
commit 480151cc4d
7 changed files with 74 additions and 39 deletions

View File

@@ -872,9 +872,9 @@ function CommandLine() //{{{
set silent(val) {
silent = val;
if (silent)
storage.styles.addSheet("silent-mode", "chrome://*", "#liberator-commandline > * { opacity: 0 }", true, true);
storage.styles.addSheet(true, "silent-mode", "chrome://*", "#liberator-commandline > * { opacity: 0 }");
else
storage.styles.removeSheet("silent-mode", null, null, null, true);
storage.styles.removeSheet(true, "silent-mode");
},
runSilently: function (fn, self)