Browse Source

Headlines.openInNewWindow: don't set article active, just window.open() it and set read

Andrew Dolgov 1 week ago
parent
commit
6d3092c742
1 changed files with 1 additions and 1 deletions
  1. 1 1
      js/Article.js

+ 1 - 1
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");