previous fix for avatars doesnt work on FF

This commit is contained in:
vcuculo 2011-08-31 09:23:49 +02:00
parent 27864660f9
commit 3832f24a02

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;
}
};