summaryrefslogtreecommitdiff
path: root/public/js
diff options
context:
space:
mode:
authorCheng-Han, Wu2016-05-15 12:31:16 +0800
committerCheng-Han, Wu2016-05-15 12:31:16 +0800
commitaa34faf8abeaeb9ef29bf02e58792be4e87a635e (patch)
tree83fc033a0ba0ddfc0170237ee84e04478338c9da /public/js
parent4058306d4e79ab8c6f384ffd0bc2e8c4da992377 (diff)
Fix some code styles and user avatar style for PR #122
Diffstat (limited to 'public/js')
-rw-r--r--public/js/cover.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/public/js/cover.js b/public/js/cover.js
index a7ee855f..1b6c4221 100644
--- a/public/js/cover.js
+++ b/public/js/cover.js
@@ -32,7 +32,7 @@ function pageInit() {
$('.ui-signin').hide();
$('.ui-or').hide();
$('.ui-welcome').show();
- $('.ui-avatar').prop('src',data.photo);
+ $('.ui-avatar').prop('src', data.photo);
$('.ui-name').html(data.name);
$('.ui-signout').show();
$(".ui-history").click();
@@ -42,7 +42,7 @@ function pageInit() {
$('.ui-signin').slideDown();
$('.ui-or').slideDown();
$('.ui-welcome').hide();
- $('.ui-avatar').prop('src','');
+ $('.ui-avatar').prop('src', '');
$('.ui-name').html('');
$('.ui-signout').hide();
parseStorageToHistory(historyList, parseHistoryCallback);