unseen notifications glitch fix
This commit is contained in:
parent
a2af140a18
commit
8c06700953
|
@ -96,7 +96,7 @@ function displayOrHideUnreadNotifications(notifications) {
|
||||||
|
|
||||||
// if this is notifications page, we use the info from the hidden items in the feed
|
// if this is notifications page, we use the info from the hidden items in the feed
|
||||||
if(window.currentStream == 'qvitter/statuses/notifications.json') {
|
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) {
|
if(new_queets_num == 0) {
|
||||||
document.title = window.siteTitle;
|
document.title = window.siteTitle;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user