mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-10-22 03:04:31 -04:00
Bug main view prefix title
https://github.com/marienfressinaud/FreshRSS/issues/536
This commit is contained in:
1 parent
fb65d7ee49
commit
5a7e602005
1 file changed
+3
@@ -103,6 +103,9 @@ function incUnreadsFeed(article, feed_id, nb) {
|
||||
if (article || ($feed.closest('.active').length > 0 && $feed.siblings('.active').length === 0)) {
|
||||
isCurrentView = true;
|
||||
return incLabel(p1, nb, true) + p2 + incLabel(p3, feed_priority > 0 ? nb : 0, true);
|
||||
} else if ($('.all.active').length > 0) {
|
||||
isCurrentView = feed_priority > 0;
|
||||
return incLabel(p1, feed_priority > 0 ? nb : 0, true) + p2 + incLabel(p3, feed_priority > 0 ? nb : 0, true);
|
||||
} else {
|
||||
return p1 + p2 + incLabel(p3, feed_priority > 0 ? nb : 0, true);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user