Commit ff4a2ee6 authored by Thierry BUGEAT's avatar Thierry BUGEAT

#56 Mark as read last entry of current selected day.

parent 6bb43155
......@@ -2687,6 +2687,8 @@
// Update next & previous entries titles
document.body.addEventListener('mainEntryOpen.done', function(event){
ui.markAsRead(event.detail.entryId); // Mark entry as read
setEntriesIds(); // Set values liveValues['entries']['id']['max'] & liveValues['entries']['id']['min']
......@@ -2781,10 +2783,6 @@
ui.echo("previousEntryTitle", sortedEntries[_previousTsMs].title, "");
}
// Mark entry as read
ui.markAsRead(event.detail.entryId);
// ---
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment