diff options
author | Bernhard Posselt <nukeawhale@gmail.com> | 2012-08-18 02:52:16 +0200 |
---|---|---|
committer | Bernhard Posselt <nukeawhale@gmail.com> | 2012-08-18 02:52:16 +0200 |
commit | 4c0b359fbe2abd1b22e50221244408c9a64860d2 (patch) | |
tree | d6a13ef59ac7051379aef2246ac9669bc09fb75a /js | |
parent | a88d3ed057f292e1275e5ed65a036aadd4168f06 (diff) |
removed top bar above feed items, aligned the title with the star
Diffstat (limited to 'js')
-rw-r--r-- | js/news.js | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/js/news.js b/js/news.js index b3229e947..c5236b39e 100644 --- a/js/news.js +++ b/js/news.js @@ -388,7 +388,6 @@ News={ var _activeFeedId = News.Feed.activeFeedId; var _$feed = $('li.feed[data-id="'+feedId+'"]'); var _$feedUnreadCounter = _$feed.find('.unreaditemcounter'); - var _$feedUnreadCounterUtil = $('.feed_controls .unreaditemcounter'); var _$feedLink = _$feed.children('a'); /** @@ -457,24 +456,15 @@ News={ if(count === 0){ _$feedLink.addClass('all_read'); _$feedUnreadCounter.addClass('all_read'); - if(_activeFeedId == _feedId){ - _$feedUnreadCounterUtil.addClass('all_read'); - } } else { var currentCount = _getUnreadCount(); // if the previous count was 0 we need to remove certain classes if(currentCount === 0){ _$feedLink.removeClass('all_read'); _$feedUnreadCounter.removeClass('all_read'); - if(_activeFeedId == _feedId){ - _$feedUnreadCounterUtil.removeClass('all_read'); - } } } _$feedUnreadCounter.html(count); - if(_activeFeedId == _feedId){ - _$feedUnreadCounterUtil.html(count); - } }; // public |