summaryrefslogtreecommitdiff
path: root/functions.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2006-05-18 08:56:52 +0100
committerAndrew Dolgov <[email protected]>2006-05-18 08:56:52 +0100
commit0ceded7a4663fc05d5f4871b01ac66f9c6a7380e (patch)
treeb1d07fe1f6a0ea9415cd76c8426f83cb6b12ef71 /functions.js
parent6311acbeea7a386189d57745290a2d916d8734b2 (diff)
interface tweaks
Diffstat (limited to 'functions.js')
-rw-r--r--functions.js16
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 = "&nbsp;";
-// 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 = "&nbsp;";
-// 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() {