unseen notifications glitch fix

This commit is contained in:
Hannes Mannerheim 2015-03-05 16:04:40 +01:00
parent a2af140a18
commit 8c06700953

View File

@ -96,7 +96,7 @@ function displayOrHideUnreadNotifications(notifications) {
// if this is notifications page, we use the info from the hidden items in the feed
if(window.currentStream == 'qvitter/statuses/notifications.json') {
var new_queets_num = $('#feed-body').find('.stream-item.hidden').length;
var new_queets_num = $('#feed-body').find('.stream-item.notification.hidden').length;
if(new_queets_num == 0) {
document.title = window.siteTitle;