1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-24 12:01:28 +00:00

hotkeys: simplify prefix timeout handling

This commit is contained in:
Andrew Dolgov
2018-12-01 22:07:00 +03:00
parent b284e72d63
commit de9509cd31
4 changed files with 24 additions and 33 deletions

View File

@@ -1,3 +1,5 @@
/* global notify,__,dijit */
const Feeds = {
counters_last_request: 0,
_active_feed_id: 0,
@@ -208,7 +210,6 @@ const Feeds = {
Utils.setLoadingProgress(50);
document.onkeydown = () => { App.hotkeyHandler(event) };
window.setInterval(() => { hotkeyPrefixTimeout() }, 3 * 1000);
window.setInterval(() => { Headlines.catchupBatchedArticles() }, 10 * 1000);
if (!this.getActiveFeedId()) {