1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-24 00:41:28 +00:00

catchupFeedInGroup: overhaul

1. less hacky way to catchup actually unread headlines
2. don't fade rows away because it's inconsistent with different mark-as-read functions
3. fix stuck progress alert
This commit is contained in:
Andrew Dolgov
2018-12-09 13:52:21 +03:00
parent fa538a6c86
commit dc84e10ba1
2 changed files with 6 additions and 29 deletions

View File

@@ -255,7 +255,7 @@ define(["dojo/_base/declare"], function (declare) {
let vgrhdr = `<div data-feed-id='${hl.feed_id}' class='feed-title'>
<div style='float : right'>${hl.feed_icon}</div>
<a class="title" href="#" onclick="Feeds.open({feed:${hl.feed_id}})">${hl.feed_title}
<a class="catchup" onclick="Feeds.catchupFeedInGroup(${hl.feed_id})" href="#">${__('mark feed as read')}</a>
<a class="catchup" title="${__('mark feed as read')}" onclick="Feeds.catchupFeedInGroup(${hl.feed_id})" href="#"><i class="material-icons">check_circle</i></a>
</div>`
const tmp = document.createElement("div");