summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--prefs.js12
1 files changed, 9 insertions, 3 deletions
diff --git a/prefs.js b/prefs.js
index 46679b7de..b068e01be 100644
--- a/prefs.js
+++ b/prefs.js
@@ -44,6 +44,12 @@ function notify(msg) {
n.innerHTML = msg;
+ if (msg.length == 0) {
+ n.style.display = "none";
+ } else {
+ n.style.display = "block";
+ }
+
}
function feedlist_callback() {
@@ -91,9 +97,9 @@ function addFeed() {
}
function init() {
-
- notify("init");
-
+
update_feeds();
+ notify("");
+
}