Revert "FIX: use CDN for user avatars"

This reverts commit 8109bd85c0.
This commit is contained in:
Régis Hanol 2015-07-15 18:00:29 +02:00
parent 8109bd85c0
commit 0eb69398b9

View file

@ -44,7 +44,7 @@ Discourse.Utilities = {
var classes = "avatar" + (options.extraClasses ? " " + options.extraClasses : "");
var title = (options.title) ? " title='" + Handlebars.Utils.escapeExpression(options.title || "") + "'" : "";
return "<img alt='' width='" + size + "' height='" + size + "' src='" + Discourse.getURLWithCDN(url) + "' class='" + classes + "'" + title + ">";
return "<img alt='' width='" + size + "' height='" + size + "' src='" + url + "' class='" + classes + "'" + title + ">";
},
tinyAvatar: function(avatarTemplate, options) {