1
0
Fork 0
mirror of https://github.com/miniflux/v2.git synced 2025-08-01 17:38:37 +00:00

Add option to disable feeds

This commit is contained in:
Frédéric Guillot 2019-07-26 21:13:06 -07:00
parent 17aae72583
commit 3d19313a7f
24 changed files with 111 additions and 29 deletions

View file

@ -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();