diff options
author | Frédéric Guillot <fred@miniflux.net> | 2018-06-29 20:29:04 -0700 |
---|---|---|
committer | Frédéric Guillot <fred@miniflux.net> | 2018-06-29 20:29:04 -0700 |
commit | 77947282e4d18c6396bf82bf12ea29da382d37af (patch) | |
tree | aba11669ba7ea477c34ab8442707b01e3c133f7e /ui/static/js/app.js | |
parent | 0b0f4751fa250dfba49d941bc5d3670bc9629354 (diff) |
Make sure we always get the pagination in unread mode
Diffstat (limited to 'ui/static/js/app.js')
-rw-r--r-- | ui/static/js/app.js | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/ui/static/js/app.js b/ui/static/js/app.js index 0933684..7869d47 100644 --- a/ui/static/js/app.js +++ b/ui/static/js/app.js @@ -637,13 +637,6 @@ class NavHandler { openSelectedItem() { let currentItemLink = document.querySelector(".current-item .item-title a"); if (currentItemLink !== null) { - // The following 4 lines ensure that the unread count in the menu is - // updated correctly when users presses "o". - let currentItemOriginalLink = document.querySelector(".current-item a[data-original-link]"); - if (currentItemOriginalLink !== null) { - let currentItem = document.querySelector(".current-item"); - EntryHandler.markEntryAsRead(currentItem); - } window.location.href = currentItemLink.getAttribute("href"); } } |