]> git.wh0rd.org - tt-rss.git/commitdiff
basic functionality pass 9
authorAndrew Dolgov <fox@madoka.spb.ru>
Mon, 22 Aug 2005 03:26:07 +0000 (04:26 +0100)
committerAndrew Dolgov <fox@madoka.spb.ru>
Mon, 22 Aug 2005 03:26:07 +0000 (04:26 +0100)
prefs.js

index 46679b7de278ecc0f444d23155c825e7f08abc08..b068e01be0ee09556041a07469226286607dc92f 100644 (file)
--- 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("");
+
 }