mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-21 23:51:29 +00:00
replace catchupCurrentFeed dropdown with a better control
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user