From 2c8c602086afda53cb16c7c74fdc29d5d3be0452 Mon Sep 17 00:00:00 2001 From: Robin Ward Date: Thu, 7 Feb 2013 17:40:41 -0500 Subject: [PATCH] Always show username on hover, unless there's something else more interesting to say. --- .../javascripts/discourse/helpers/application_helpers.js.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/discourse/helpers/application_helpers.js.coffee b/app/assets/javascripts/discourse/helpers/application_helpers.js.coffee index 9cb7d0cb2..340285fcc 100644 --- a/app/assets/javascripts/discourse/helpers/application_helpers.js.coffee +++ b/app/assets/javascripts/discourse/helpers/application_helpers.js.coffee @@ -65,7 +65,7 @@ Handlebars.registerHelper 'avatar', (user, options) -> size: options.hash.imageSize extraClasses: Em.get(user, 'extras') || options.hash.extraClasses username: username - title: Em.get(user, 'title') || Em.get(user, 'description') + title: Em.get(user, 'title') || Em.get(user, 'description') || username avatarTemplate: Ember.get(user, 'avatar_template') || options.hash.avatarTemplate )