From 6d3092c7427c690aa6c517e79f4c39b27bfc00f0 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 4 Dec 2018 05:57:56 +0300 Subject: Headlines.openInNewWindow: don't set article active, just window.open() it and set read --- js/Article.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'js/Article.js') 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"); -- cgit v1.2.3