1
0
mirror of https://tt-rss.org/git/tt-rss.git synced 2024-06-20 11:16:36 +02:00

Headlines.click: fix another small issue with expanded mode (2)

This commit is contained in:
Andrew Dolgov 2019-03-07 12:16:50 +03:00
parent 0b8f3909fe
commit ae9ef7fe84

View File

@ -173,8 +173,10 @@ define(["dojo/_base/declare"], function (declare) {
Headlines.select('none');
Article.setActive(id);
if (App.getInitParam("cdm_expanded") && !in_body) {
Article.openInNewWindow(id);
if (App.getInitParam("cdm_expanded")) {
if (!in_body)
Article.openInNewWindow(id);
Headlines.toggleUnread(id, 0);
} else {
Article.cdmScrollToId(id);