From 97d8d863955451ed39aabd6964a8955d47ff2fb5 Mon Sep 17 00:00:00 2001 From: yflory Date: Mon, 10 Jul 2017 12:03:44 +0200 Subject: [PATCH] Fix avatar in static pages --- www/common/cryptpad-common.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/common/cryptpad-common.js b/www/common/cryptpad-common.js index 71c8dfcdb..009443bdd 100644 --- a/www/common/cryptpad-common.js +++ b/www/common/cryptpad-common.js @@ -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) {