mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-09-18 21:50:56 +00:00
Fixing ghost unread counts on folder when last story in a feed is read.
This commit is contained in:
parent
19e091102c
commit
24953df95d
1 changed files with 2 additions and 1 deletions
|
@ -2542,7 +2542,8 @@
|
|||
}, 400);
|
||||
});
|
||||
|
||||
if (this.model.preference('folder_counts') || !$feed.is(':visible')) {
|
||||
if (this.model.preference('folder_counts') ||
|
||||
$feed.parents('li.folder').filter('.NB-folder-collapsed').length) {
|
||||
var $folder_title = $feed.closest('li.folder:visible').children('.folder_title');
|
||||
var $children = $folder_title.closest('li.folder').children('ul.folder, .feed');
|
||||
this.show_collapsed_folder_count($folder_title, $children);
|
||||
|
|
Loading…
Add table
Reference in a new issue