Added avatar image fallback for notifications

closes #6463
This commit is contained in:
Faldrian 2015-10-06 21:41:11 +02:00 committed by Steffen van Bergerem
parent d486e37487
commit 058bcb43f8
2 changed files with 2 additions and 0 deletions

View file

@ -6,6 +6,7 @@
## Bug fixes
* Skip first getting started step if it looks done already [#6456](https://github.com/diaspora/diaspora/pull/6456)
* Normalize new followed tags and insert them alphabetically [#6454](https://github.com/diaspora/diaspora/pull/6454)
* Add avatar fallback for notification dropdown [#6463](https://github.com/diaspora/diaspora/pull/6463)
## Features
* Show spinner on initial stream load [#6384](https://github.com/diaspora/diaspora/pull/6384)

View file

@ -104,6 +104,7 @@ app.views.NotificationDropdown = app.views.Base.extend({
if($.inArray(notification, notifications) === -1){
var node = self.dropdownNotifications.append(notification.note_html);
$(node).find('.unread-toggle .entypo').tooltip('destroy').tooltip();
$(node).find(self.avatars.selector).error(self.avatars.fallback);
}
});
});