Merge pull request #1856 from vcuculo/fix-search-user

Previous fix for avatars doesnt work on FF
This commit is contained in:
Maxwell Salzberg 2011-08-31 09:29:52 -07:00
commit 197dcc1a61

View file

@ -31,10 +31,7 @@
if (typeof row.search !== "undefined") {
return Diaspora.I18n.t("search_for", row);
} else {
return $("<img/>", {
"class": "avatar",
src: row.avatar
})[0].outerHTML + row.name;
return "<img src='"+ row.avatar +"' class='avatar'/>" + row.name;
}
};