From 119ba03bd4fefdcf65dc044fb5ee1a9a34d47e58 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 3 Feb 2015 14:42:20 +0300 Subject: minor fixes for previous --- js/tt-rss.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'js') diff --git a/js/tt-rss.js b/js/tt-rss.js index df41a9cc5..e79f47176 100644 --- a/js/tt-rss.js +++ b/js/tt-rss.js @@ -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); -- cgit v1.2.3-54-g00ecf