diff options
author | Andrew Dolgov <[email protected]> | 2013-02-28 13:18:58 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2013-02-28 13:18:58 +0400 |
commit | 18e1a773d1bb9f8300199c8cc52598c0fb290f1d (patch) | |
tree | ddbb18a722628fad5dd8c942ba5bdfffe1017afe /js/feedlist.js | |
parent | 1b04a298efd0ea33086eeeb3fc7de6281c9881d1 (diff) |
change ctrl-arrow bindings to always keep current article on top
(previous behavior)
replace direct active_post_id references with get/set functions
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 3d4f1f4c9..7a20af2bd 100644 --- a/js/feedlist.js +++ b/js/feedlist.js @@ -111,7 +111,7 @@ function viewfeed(feed, method, is_cat, offset, background, infscroll_req) { _viewfeed_last = get_timestamp(); if (getActiveFeedId() != feed || offset == 0) { - active_post_id = 0; + setActiveArticleId(0); _infscroll_disable = 0; } |