1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 19:45:56 +00:00

change ctrl-arrow bindings to always keep current article on top

(previous behavior)
replace direct active_post_id references with get/set functions
This commit is contained in:
Andrew Dolgov
2013-02-28 13:18:58 +04:00
parent 1b04a298ef
commit 18e1a773d1
3 changed files with 34 additions and 29 deletions

View File

@@ -1205,7 +1205,7 @@ function quickAddFilter() {
var lh = dojo.connect(dialog, "onLoad", function(){
dojo.disconnect(lh);
var title = $("PTITLE-FULL-" + active_post_id);
var title = $("PTITLE-FULL-" + getActiveArticleId());
if (title || getActiveFeedId() || activeFeedIsCat()) {
if (title) title = title.innerHTML;