mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-25 18:25:45 +01:00
Fix some bugs, generally.
This commit is contained in:
@@ -997,10 +997,9 @@ function CommandLine() //{{{
|
||||
set silent(val)
|
||||
{
|
||||
silent = val;
|
||||
if (silent)
|
||||
storage.styles.addSheet(true, "silent-mode", "chrome://*", "#liberator-commandline > * { opacity: 0 }");
|
||||
else
|
||||
storage.styles.removeSheet(true, "silent-mode");
|
||||
Array.forEach(document.getElementById("liberator-commandline").childNodes, function (node) {
|
||||
node.style.opacity = silent ? "0" : "";
|
||||
});
|
||||
},
|
||||
|
||||
runSilently: function (fn, self)
|
||||
|
||||
Reference in New Issue
Block a user