diff options
Diffstat (limited to 'functions.js')
-rw-r--r-- | functions.js | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/functions.js b/functions.js index ae25a2cc6..d5ac2c087 100644 --- a/functions.js +++ b/functions.js @@ -81,12 +81,12 @@ function p_notify(msg) { if (!n || !nb) return; if (msg == "") { - nb.innerHTML = " "; -// n.style.background = "#ffffff"; + n.style.display = "none"; } else { - nb.innerHTML = msg; -// n.style.background = "#fffff0"; + n.style.display = "block"; } + + nb.innerHTML = msg; } function notify(msg) { @@ -97,13 +97,13 @@ function notify(msg) { if (!n || !nb) return; if (msg == "") { - nb.innerHTML = " "; -// n.style.background = "#ffffff"; + n.style.display = "none"; } else { - nb.innerHTML = msg; -// n.style.background = "#fffff0"; + n.style.display = "block"; } + nb.innerHTML = msg; + } function printLockingError() { |