diff options
author | Max Wu | 2016-05-15 12:24:33 +0800 |
---|---|---|
committer | Max Wu | 2016-05-15 12:24:33 +0800 |
commit | 86b7304746acae4c1ec369ed5c4a03437a9c9821 (patch) | |
tree | 54c5ba18e1f647b1270c2f4887b2a3dee02e163b /public/js | |
parent | 1f4e1f09b639d49ebe818fd2b4d6e98f78ef2d38 (diff) | |
parent | c4b754e53b9c7c233547ccf23d81774101386b10 (diff) |
Merge pull request #122 from jccrofty30/avatar_on_history
Add avatar to History page.
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); |