diff options
Diffstat (limited to 'ui/static/js/app.js')
-rw-r--r-- | ui/static/js/app.js | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/ui/static/js/app.js b/ui/static/js/app.js index 6164800..41b85e6 100644 --- a/ui/static/js/app.js +++ b/ui/static/js/app.js @@ -297,9 +297,11 @@ function openOriginalLink(openLinkInCurrentTab) { if (currentItemOriginalLink !== null) { DomHelper.openNewTab(currentItemOriginalLink.getAttribute("href")); - // Move to the next item and if we are on the unread page mark this item as read. let currentItem = document.querySelector(".current-item"); - goToNextListItem(); + // If we are not on the list of starred items, move to the next item + if (document.location.href != document.querySelector('a[data-page=starred]').href){ + goToNextListItem(); + } markEntryAsRead(currentItem); } } |