summaryrefslogtreecommitdiffstats
path: root/js
diff options
context:
space:
mode:
Diffstat (limited to 'js')
-rw-r--r--js/items.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/js/items.js b/js/items.js
index 847647206..f8dc3bae8 100644
--- a/js/items.js
+++ b/js/items.js
@@ -605,6 +605,12 @@ var News = News || {};
self.setRead(true);
});
+ // bind click to load feed when the from_feed link is viewable
+ this._$html.find('.from_feed').click(function(){
+ News.Objects.Items.load(News.MenuNodeType.Feed, self.getFeedId(), function(){});
+ return false;
+ });
+
// single hover on item should mark it as read too
this._$html.find('.body').click(function(){
var $item = $(this).parent('.feed_item');