return auto-reading to notifications shown in popup menu.
This commit is contained in:
parent
9e337fc8b0
commit
24359623fe
1 changed files with 7 additions and 1 deletions
|
|
@ -72,7 +72,13 @@
|
||||||
self.dropdownNotifications.find('.read').each(function(index) {
|
self.dropdownNotifications.find('.read').each(function(index) {
|
||||||
Diaspora.page.header.notifications.setUpRead( $(this) );
|
Diaspora.page.header.notifications.setUpRead( $(this) );
|
||||||
});
|
});
|
||||||
|
self.dropdownNotifications.find('.unread').each(function(index) {
|
||||||
|
var myItem = $(this);
|
||||||
|
setTimeout(function(){
|
||||||
|
if ( self.dropdownNotifications.is(":visible") )
|
||||||
|
myItem.trigger('click');
|
||||||
|
}, 2000 );
|
||||||
|
});
|
||||||
self.ajaxLoader.hide();
|
self.ajaxLoader.hide();
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue