]> git.wh0rd.org - tt-rss.git/commitdiff
cdmClicked: when clicked on article link, open it in background window even without...
authorAndrew Dolgov <noreply@fakecake.org>
Fri, 30 Nov 2018 21:35:18 +0000 (00:35 +0300)
committerAndrew Dolgov <noreply@fakecake.org>
Fri, 30 Nov 2018 21:35:18 +0000 (00:35 +0300)
js/viewfeed.js

index 95e55050d9ce4b2441eba0036e2f6caa26267e7b..347c38938d1dbc84d36a7d1f2407d4905d3251c4 100755 (executable)
@@ -1400,7 +1400,7 @@ function show_labels_in_headlines(transport) {
 }
 
 function cdmClicked(event, id, in_body) {
 }
 
 function cdmClicked(event, id, in_body) {
-       if (event.ctrlKey && !in_body) {
+       if (event.ctrlKey && !in_body || !in_body) {
                openArticleInNewWindow(id);
        }
 
                openArticleInNewWindow(id);
        }