From 77947282e4d18c6396bf82bf12ea29da382d37af Mon Sep 17 00:00:00 2001 From: Frédéric Guillot Date: Fri, 29 Jun 2018 20:29:04 -0700 Subject: Make sure we always get the pagination in unread mode --- ui/static/js/app.js | 7 ------- 1 file changed, 7 deletions(-) (limited to 'ui/static/js') 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"); } } -- cgit v1.2.3