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

Fix #182, map <silent> quirk.

This commit is contained in:
Kris Maglione
2009-09-03 20:08:58 -04:00
parent ab63b8c314
commit 561a3ff978
2 changed files with 14 additions and 7 deletions

View File

@@ -110,6 +110,7 @@ function CommandLine() //{{{
var lastMowOutput = null;
var silent = false;
var quiet = false;
var keepCommand = false;
var lastEcho = null;
@@ -1022,8 +1023,14 @@ function CommandLine() //{{{
set silent(val)
{
silent = val;
this.quiet = this.quiet;
},
get quiet() quiet,
set quiet(val)
{
quiet = val;
Array.forEach(document.getElementById("liberator-commandline").childNodes, function (node) {
node.style.opacity = silent ? "0" : "";
node.style.opacity = quiet || silent ? "0" : "";
});
},