Skip to content
Snippets Groups Projects
Commit 6c37e7cd authored by Christoph Wurst's avatar Christoph Wurst
Browse files

show sender avatar again.

parent a07d7523
No related branches found
No related tags found
No related merge requests found
......@@ -31,7 +31,7 @@ views.Message = Backbone.Marionette.ItemView.extend({
var displayName = this.model.get('from');
// Don't show any placeholder if 'from' isn't set
if (!displayName) {
if (displayName) {
_.each(this.$el.find('.avatar'), function (a) {
$(a).height('32px');
$(a).imageplaceholder(displayName, displayName);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment