Merge pull request #1856 from vcuculo/fix-search-user
Previous fix for avatars doesnt work on FF
This commit is contained in:
commit
197dcc1a61
1 changed files with 1 additions and 4 deletions
|
|
@ -31,10 +31,7 @@
|
||||||
if (typeof row.search !== "undefined") {
|
if (typeof row.search !== "undefined") {
|
||||||
return Diaspora.I18n.t("search_for", row);
|
return Diaspora.I18n.t("search_for", row);
|
||||||
} else {
|
} else {
|
||||||
return $("<img/>", {
|
return "<img src='"+ row.avatar +"' class='avatar'/>" + row.name;
|
||||||
"class": "avatar",
|
|
||||||
src: row.avatar
|
|
||||||
})[0].outerHTML + row.name;
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue