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") {
|
||||
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;
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue