]> git.wh0rd.org - tt-rss.git/commitdiff
minor fixes for previous
authorAndrew Dolgov <noreply@fakecake.org>
Tue, 3 Feb 2015 11:42:20 +0000 (14:42 +0300)
committerAndrew Dolgov <noreply@fakecake.org>
Tue, 3 Feb 2015 11:42:20 +0000 (14:42 +0300)
include/functions2.php
js/tt-rss.js

index 0207c1240a9829074548bda1a528ffd9a1d63b09..13b92225e607e6462996740c3cbae94c2c494032 100644 (file)
                        }
                }
 
-               return false;
+               return "";
        }
 
        function make_runtime_info() {
index df41a9cc54dc70066c113793a9fd730b574e03c2..e79f47176e0b398347828167adeae154534ba642 100644 (file)
@@ -770,7 +770,7 @@ function parse_runtime_info(data) {
                if (k == "update_result") {
                        var updatesIcon = dijit.byId("updatesIcon").domNode;
 
-                       if (v != "") {
+                       if (v) {
                                Element.show(updatesIcon);
                        } else {
                                Element.hide(updatesIcon);