summaryrefslogtreecommitdiff
path: root/js/feedlist.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/feedlist.js')
-rw-r--r--js/feedlist.js16
1 files changed, 2 insertions, 14 deletions
diff --git a/js/feedlist.js b/js/feedlist.js
index 9d643142b..3154a2887 100644
--- a/js/feedlist.js
+++ b/js/feedlist.js
@@ -380,20 +380,8 @@ function getNextUnreadFeed(feed, is_cat) {
}
}
-function catchupCurrentFeed(elem) {
-
- if (elem) {
- var toolbar = document.forms["main_toolbar_form"];
- var catchup_feed = dijit.getEnclosingWidget(toolbar.catchup_feed);
- var mode = catchup_feed.attr('value');
-
- if (mode != 'default') {
- catchupFeed(getActiveFeedId(), activeFeedIsCat(), mode);
- catchup_feed.attr('value', 'default');
- }
- } else {
- catchupFeed(getActiveFeedId(), activeFeedIsCat());
- }
+function catchupCurrentFeed(mode) {
+ catchupFeed(getActiveFeedId(), activeFeedIsCat(), mode);
}
function catchupFeedInGroup(id) {