diff options
Diffstat (limited to 'public/js')
-rw-r--r-- | public/js/cover.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/public/js/cover.js b/public/js/cover.js index dde0c679..a7ee855f 100644 --- a/public/js/cover.js +++ b/public/js/cover.js @@ -32,6 +32,7 @@ function pageInit() { $('.ui-signin').hide(); $('.ui-or').hide(); $('.ui-welcome').show(); + $('.ui-avatar').prop('src',data.photo); $('.ui-name').html(data.name); $('.ui-signout').show(); $(".ui-history").click(); @@ -41,6 +42,7 @@ function pageInit() { $('.ui-signin').slideDown(); $('.ui-or').slideDown(); $('.ui-welcome').hide(); + $('.ui-avatar').prop('src',''); $('.ui-name').html(''); $('.ui-signout').hide(); parseStorageToHistory(historyList, parseHistoryCallback); |