diff options
author | Andrew Dolgov <[email protected]> | 2018-12-01 21:54:22 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2018-12-01 21:54:22 +0300 |
commit | b284e72d6357e53a171832696d3867e36d02a257 (patch) | |
tree | f4585c1e2d9bcff673b1c6a383aecfc3457760da | |
parent | cc26be0793c6c0e44a540c25f86627342a82714f (diff) |
openArticleInNewWindow: also, set it active
-rwxr-xr-x | js/viewfeed.js | 2 |
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"); |