summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2018-12-01 21:54:22 +0300
committerAndrew Dolgov <[email protected]>2018-12-01 21:54:22 +0300
commitb284e72d6357e53a171832696d3867e36d02a257 (patch)
treef4585c1e2d9bcff673b1c6a383aecfc3457760da /js
parentcc26be0793c6c0e44a540c25f86627342a82714f (diff)
openArticleInNewWindow: also, set it active
Diffstat (limited to 'js')
-rwxr-xr-xjs/viewfeed.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/js/viewfeed.js b/js/viewfeed.js
index e8995712a..b091e5ccb 100755
--- a/js/viewfeed.js
+++ b/js/viewfeed.js
@@ -98,6 +98,8 @@ const Article = {
const w = window.open("");
w.opener = null;
w.location = "backend.php?op=article&method=redirect&id=" + id;
+
+ Article.setActiveArticleId(id);
},
renderArticle: function (article) {
Utils.cleanupMemory("content-insert");