From 18e1a773d1bb9f8300199c8cc52598c0fb290f1d Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Thu, 28 Feb 2013 13:18:58 +0400 Subject: change ctrl-arrow bindings to always keep current article on top (previous behavior) replace direct active_post_id references with get/set functions --- js/functions.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'js/functions.js') 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; -- cgit v1.2.3-54-g00ecf