diff options
author | Anders Kaseorg <[email protected]> | 2017-01-20 13:13:31 -0500 |
---|---|---|
committer | Anders Kaseorg <[email protected]> | 2017-01-21 16:52:27 -0500 |
commit | 88946d331aad96ecbdf9d570853121e5a7eb07ab (patch) | |
tree | 7e9f21a5e61e030352a81711776731d514707bd1 /js/feedlist.js | |
parent | 0047f2578f126cb6de2eed928e86ed7340c3854d (diff) |
Replace all setTimeout strings with functions
This fixes a cross-site scripting vulnerability.
Signed-off-by: Anders Kaseorg <[email protected]>
Diffstat (limited to 'js/feedlist.js')
-rw-r--r-- | js/feedlist.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/feedlist.js b/js/feedlist.js index c98cfaab5..e66a0c1b6 100644 --- a/js/feedlist.js +++ b/js/feedlist.js @@ -198,7 +198,7 @@ function feedlist_init() { loading_set_progress(50); document.onkeydown = hotkey_handler; - setTimeout("hotkey_prefix_timeout()", 5*1000); + setTimeout(hotkey_prefix_timeout, 5*1000); if (!getActiveFeedId()) { viewfeed({feed: -3}); |