summaryrefslogtreecommitdiff
path: root/functions.js
diff options
context:
space:
mode:
Diffstat (limited to 'functions.js')
-rw-r--r--functions.js14
1 files changed, 8 insertions, 6 deletions
diff --git a/functions.js b/functions.js
index 6d108c683..652e2316f 100644
--- a/functions.js
+++ b/functions.js
@@ -130,13 +130,15 @@ function notify_real(msg, doc, no_hide, is_err) {
}
if (is_err) {
- n.style.backgroundColor = "#ffcccc";
- n.style.color = "black";
- n.style.borderColor = "#ff0000";
+ n.className = "notifyError";
+// n.style.backgroundColor = "#ffcccc";
+// n.style.color = "black";
+// n.style.borderColor = "#ff0000";
} else {
- n.style.backgroundColor = "#fff7d5";
- n.style.borderColor = "#d7c47a";
- n.style.color = "black";
+ n.className = "notify";
+// n.style.backgroundColor = "#fff7d5";
+// n.style.borderColor = "#d7c47a";
+// n.style.color = "black";
}
// msg = "<img src='images/live_com_loading.gif'> " + msg;