Fix avatar in static pages

pull/1/head
yflory 8 years ago
parent e8f3df5a46
commit 97d8d86395

@ -1676,7 +1676,7 @@ define([
if (account) {
var $avatar = $userAdmin.find('.buttonTitle');
var url = getStore() ? getStore().getProfile().avatar : undefined;
var url = store ? store.getProfile().avatar : undefined;
$avatar.html('');
common.displayAvatar($avatar, url, accountName, function ($img) {
if ($img) {

Loading…
Cancel
Save