Ditch params when showing link domains

This commit is contained in:
Robin Ward 2014-04-08 15:15:22 -04:00
parent 79ad879170
commit c3bc49d5d4
1 changed files with 1 additions and 1 deletions

View File

@ -402,7 +402,7 @@ Handlebars.registerHelper('link-domain', function(property, options) {
if (!Em.isEmpty(domain)) {
var s = domain.split('.');
domain = s[s.length-2] + "." + s[s.length-1];
return new Handlebars.SafeString("<span class='domain'>(" + domain + ")</span>");
return new Handlebars.SafeString("<span class='domain'>" + domain + "</span>");
}
}
}