diff options
author | Bernhard Posselt <nukeawhale@gmail.com> | 2012-08-11 00:12:06 +0200 |
---|---|---|
committer | Bernhard Posselt <nukeawhale@gmail.com> | 2012-08-11 00:12:06 +0200 |
commit | fb8f2c25502f4ad708cf85f239570f340a64c721 (patch) | |
tree | 40e5b3e518e01a6cd81597af30412a1d4e6dbf9f /js/news.js | |
parent | 748afb98f2a0cd485df6346c97a179d45d178209 (diff) |
added an item header, improved feed design, removed unused javascript function, added proper template translation tags
Diffstat (limited to 'js/news.js')
-rw-r--r-- | js/news.js | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/js/news.js b/js/news.js index 5420965eb..8ff46ed82 100644 --- a/js/news.js +++ b/js/news.js @@ -211,7 +211,6 @@ News={ $('li#selected_feed').attr('id', ''); $('li.feed[data-id="' + feedid + '"]').attr('id', 'selected_feed'); - setupRightContent(); transformCollapsableTrigger(); } else { @@ -320,18 +319,6 @@ function setupFeedList() { transformCollapsableTrigger(); } -function setupRightContent() { - $('.accordion .title_unread').click(function() { - $(this).next().toggle(); - return false; - }).next().hide(); - - $('.accordion .title_read').click(function() { - $(this).next().toggle(); - return false; - }).next().hide(); -} - $(document).ready(function(){ $('#addfeed').click(function() { @@ -355,7 +342,6 @@ $(document).ready(function(){ }); setupFeedList(); - setupRightContent(); News.Feed.updateAll(); var updateInterval = 200000; //how often the feeds should update (in msec) |