mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-14 02:25:55 +00:00
make #notify more noticeable
This commit is contained in:
29
functions.js
29
functions.js
@@ -57,16 +57,13 @@ function p_notify(msg) {
|
||||
|
||||
if (!n || !nb) return;
|
||||
|
||||
if (msg == "") msg = " ";
|
||||
|
||||
nb.innerHTML = msg;
|
||||
|
||||
/* if (msg.length == 0) {
|
||||
n.style.display = "none";
|
||||
if (msg == "") {
|
||||
nb.innerHTML = " ";
|
||||
n.style.background = "#ffffff";
|
||||
} else {
|
||||
n.style.display = "block";
|
||||
} */
|
||||
|
||||
nb.innerHTML = msg;
|
||||
n.style.background = "#fffff0";
|
||||
}
|
||||
}
|
||||
|
||||
function notify(msg) {
|
||||
@@ -76,15 +73,13 @@ function notify(msg) {
|
||||
|
||||
if (!n || !nb) return;
|
||||
|
||||
if (msg == "") msg = " ";
|
||||
|
||||
nb.innerHTML = msg;
|
||||
|
||||
/* if (msg.length == 0) {
|
||||
n.style.display = "none";
|
||||
if (msg == "") {
|
||||
nb.innerHTML = " ";
|
||||
n.style.background = "#ffffff";
|
||||
} else {
|
||||
n.style.display = "block";
|
||||
} */
|
||||
nb.innerHTML = msg;
|
||||
n.style.background = "#fffff0";
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user