aboutsummaryrefslogtreecommitdiffhomepage
path: root/ui/static/js/app.js
diff options
context:
space:
mode:
Diffstat (limited to 'ui/static/js/app.js')
-rw-r--r--ui/static/js/app.js4
1 files changed, 0 insertions, 4 deletions
diff --git a/ui/static/js/app.js b/ui/static/js/app.js
index f054cc0..cae1d45 100644
--- a/ui/static/js/app.js
+++ b/ui/static/js/app.js
@@ -118,10 +118,6 @@ function markPageAsRead() {
function handleEntryStatus(element) {
let currentEntry = findEntry(element);
if (currentEntry) {
- // The order is important here,
- // On the unread page, the read item will be hidden.
- // If "goToNextListItem" first, it may go to an item about to hide:
- // Imagine that user click 'mark as read' right below the '.current-item'
toggleEntryStatus(currentEntry);
if (isListView() && currentEntry.classList.contains('current-item')) {
goToNextListItem();