1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-23 00:21:28 +00:00

misc typo fixes

This commit is contained in:
Andrew Dolgov
2011-12-10 21:26:59 +04:00
parent e6f1a1b747
commit e331188f76
15 changed files with 49 additions and 67 deletions

View File

@@ -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;