diff options
author | Andrew Dolgov <[email protected]> | 2018-12-04 05:57:56 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2018-12-04 05:57:56 +0300 |
commit | 6d3092c7427c690aa6c517e79f4c39b27bfc00f0 (patch) | |
tree | d6c66c5f1bc3f7499ed050501974fd86e13b7619 /js/Article.js | |
parent | 33185551678207b490f36ba44fc3e4a70f810382 (diff) |
Headlines.openInNewWindow: don't set article active, just window.open() it and set read
Diffstat (limited to 'js/Article.js')
-rw-r--r-- | js/Article.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/Article.js b/js/Article.js index 04cba8ab7..35101a1f8 100644 --- a/js/Article.js +++ b/js/Article.js @@ -94,7 +94,7 @@ define(["dojo/_base/declare"], function (declare) { w.opener = null; w.location = "backend.php?op=article&method=redirect&id=" + id; - Article.setActive(id); + Headlines.toggleUnread(id, 0); }, render: function (article) { App.cleanupMemory("content-insert"); |