diff options
author | Andrew Dolgov <[email protected]> | 2011-12-11 00:10:32 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2011-12-11 00:10:32 +0400 |
commit | f37e541a8f6ae5dc0955e0bf4e90e86dd7537e1d (patch) | |
tree | 2cf3de358ed45eac8c298dd9b5e12f50d07a6404 /digest.js | |
parent | 2ea34cc1501409f9f62d83f43de3ee494b2d73db (diff) | |
parent | b167df5e60143efbd4cc9121b7c4825f4f6608d1 (diff) |
Merge branch 'master' of github.com:gothfox/Tiny-Tiny-RSS
Diffstat (limited to 'digest.js')
-rw-r--r-- | digest.js | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -321,8 +321,10 @@ function viewfeed(feed_id, offset, replace, no_effects, no_indicator, callback) console.log(query); + var img = false; + if ($("F-" + feed_id)) { - var img = $("F-" + feed_id).getElementsByTagName("IMG")[0]; + img = $("F-" + feed_id).getElementsByTagName("IMG")[0]; if (img && !no_indicator) { img.setAttribute("orig_src", img.src); @@ -545,7 +547,7 @@ function parse_feeds(transport) { feeds.sort( function (a,b) { if (b.unread != a.unread) - return (b.unread - a.unread) + return (b.unread - a.unread); else if (a.title > b.title) return 1; |