Fix avatar in static pages

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

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

Loading…
Cancel
Save