Commit 8e345c03 authored by Steffen van Bergerem's avatar Steffen van Bergerem Committed by Benjamin Neff

Add avatar fallback on tags page

fixes #6969

closes #7198
parent 5660d2f4
...@@ -14,6 +14,7 @@ ...@@ -14,6 +14,7 @@
* Hide 'reshare' button on already reshared posts [#7169](https://github.com/diaspora/diaspora/pull/7169) * Hide 'reshare' button on already reshared posts [#7169](https://github.com/diaspora/diaspora/pull/7169)
* Only reload profile header when changing aspect memberships [#7183](https://github.com/diaspora/diaspora/pull/7183) * Only reload profile header when changing aspect memberships [#7183](https://github.com/diaspora/diaspora/pull/7183)
* Fix visiblity on invitation modal when opening it from the stream [#7191](https://github.com/diaspora/diaspora/pull/7191) * Fix visiblity on invitation modal when opening it from the stream [#7191](https://github.com/diaspora/diaspora/pull/7191)
* Add avatar fallback on tags page [#7198](https://github.com/diaspora/diaspora/pull/7198)
## Features ## Features
* Show spinner when loading comments in the stream [#7170](https://github.com/diaspora/diaspora/pull/7170) * Show spinner when loading comments in the stream [#7170](https://github.com/diaspora/diaspora/pull/7170)
......
...@@ -5,6 +5,8 @@ app.views.Tags = Backbone.View.extend({ ...@@ -5,6 +5,8 @@ app.views.Tags = Backbone.View.extend({
if(app.publisher) { if(app.publisher) {
app.publisher.setText("#"+ opts.hashtagName + " "); app.publisher.setText("#"+ opts.hashtagName + " ");
} }
// add avatar fallback if it can't be loaded
$(app.views.Base.prototype.avatars.selector).error(app.views.Base.prototype.avatars.fallback);
} }
}); });
// @license-end // @license-end
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment