summaryrefslogtreecommitdiff
path: root/js/functions.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2013-02-28 13:18:58 +0400
committerAndrew Dolgov <[email protected]>2013-02-28 13:18:58 +0400
commit18e1a773d1bb9f8300199c8cc52598c0fb290f1d (patch)
treeddbb18a722628fad5dd8c942ba5bdfffe1017afe /js/functions.js
parent1b04a298efd0ea33086eeeb3fc7de6281c9881d1 (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/functions.js')
-rw-r--r--js/functions.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/functions.js b/js/functions.js
index cef47f8e4..8bdc229b2 100644
--- a/js/functions.js
+++ b/js/functions.js
@@ -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;