diff options
| author | 2014-07-14 00:30:55 +0200 | |
|---|---|---|
| committer | 2014-07-14 00:30:55 +0200 | |
| commit | 5a7e6020057a0df5b03e5a1496bc25ccf52fface (patch) | |
| tree | 2bc0df9321eea11e6f0f87aa430e003748bf9e84 /p/scripts | |
| parent | fb65d7ee498977ba089ab7aad45322e47b7bb335 (diff) | |
Bug main view prefix title
https://github.com/marienfressinaud/FreshRSS/issues/536
Diffstat (limited to 'p/scripts')
| -rw-r--r-- | p/scripts/main.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/p/scripts/main.js b/p/scripts/main.js index 4f7494cd1..c379dd3d0 100644 --- a/p/scripts/main.js +++ b/p/scripts/main.js @@ -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); } |
