Remove auto 'mark as read' for notifications

This commit is contained in:
Steffen van Bergerem 2014-02-23 20:43:55 +01:00
parent 07ae7d7862
commit e1685c9a29
2 changed files with 1 additions and 7 deletions

View file

@ -24,6 +24,7 @@ Read more in [#4249](https://github.com/diaspora/diaspora/pull/4249) and [#4883]
* Replace .rvmrc by .ruby-version and .ruby-gemset [#4854](https://github.com/diaspora/diaspora/pull/4855) * Replace .rvmrc by .ruby-version and .ruby-gemset [#4854](https://github.com/diaspora/diaspora/pull/4855)
* Reorder and reword items on user settings page [#4912](https://github.com/diaspora/diaspora/pull/4912) * Reorder and reword items on user settings page [#4912](https://github.com/diaspora/diaspora/pull/4912)
* SPV: Improve padding and interaction counts [#4426](https://github.com/diaspora/diaspora/pull/4426) * SPV: Improve padding and interaction counts [#4426](https://github.com/diaspora/diaspora/pull/4426)
* Remove auto 'mark as read' for notifications [#4810](https://github.com/diaspora/diaspora/pull/4810)
## Bug fixes ## Bug fixes
* Improve time agos by updating the plugin [#4280](https://github.com/diaspora/diaspora/issues/4280) * Improve time agos by updating the plugin [#4280](https://github.com/diaspora/diaspora/issues/4280)

View file

@ -74,13 +74,6 @@
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();
}; };
}; };