setcookie('ttrss_vf_refresh', FEEDS_FRAME_REFRESH);
setcookie('ttrss_vf_daemon', ENABLE_UPDATE_DAEMON);
+
+ if (get_pref($link, "ON_CATCHUP_SHOW_NEXT_FEED")) {
+ setcookie('ttrss_vf_catchupnext', 1);
+ } else {
+ setcookie('ttrss_vf_catchupnext', 0);
+ }
}
$fetch = $_GET["fetch"];
var next_unread_feed = getRelativeFeedId(feedlist,
getActiveFeedId(), "next", true);
- if (next_unread_feed) {
+ if (next_unread_feed && getCookie('ttrss_vf_catchupnext') == 1) {
query = query + "&nuf=" + param_escape(next_unread_feed);
setActiveFeedId(next_unread_feed);
}