summaryrefslogtreecommitdiff
path: root/js/functions.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2017-01-22 10:19:11 +0300
committerAndrew Dolgov <[email protected]>2017-01-22 10:19:11 +0300
commit4441fc6f3b5d2ae0df5c0a8797317c632b1d4d23 (patch)
treef31b865743d3ffa96f4988c68f6521942cf91382 /js/functions.js
parent967f0619c781a01a67f1d3c69946f63d5a4c1e54 (diff)
parent7262c1726f1b900d2211d4cfb9054aefb93b991e (diff)
Merge branch 'master' of git.tt-rss.org:fox/tt-rss
Diffstat (limited to 'js/functions.js')
-rwxr-xr-xjs/functions.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/functions.js b/js/functions.js
index 384382554..63ff4121b 100755
--- a/js/functions.js
+++ b/js/functions.js
@@ -668,7 +668,7 @@ function hotkey_prefix_timeout() {
Element.hide('cmdline');
}
- setTimeout("hotkey_prefix_timeout()", 1000);
+ setTimeout(hotkey_prefix_timeout, 1000);
} catch (e) {
exception_error("hotkey_prefix_timeout", e);
@@ -1325,7 +1325,7 @@ function unsubscribeFeed(feed_id, title) {
updateFeedList();
} else {
if (feed_id == getActiveFeedId())
- setTimeout("viewfeed({feed:-5})", 100);
+ setTimeout(function() { viewfeed({feed:-5}) }, 100);
if (feed_id < 0) updateFeedList();
}