diff options
author | Wu Cheng-Han | 2017-01-12 17:14:32 +0800 |
---|---|---|
committer | Wu Cheng-Han | 2017-01-12 17:14:32 +0800 |
commit | 0432fef26762cfa62338a11b864488a4d525b233 (patch) | |
tree | 50f9851865ddf118255c4cb517858d69726c0cbb /public | |
parent | 42d684329fbd1b139b253d448e444349e891d775 (diff) |
Fix history list might check pagination on clear and open
Diffstat (limited to 'public')
-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 2f35bd28..a8d8ecfe 100644 --- a/public/js/cover.js +++ b/public/js/cover.js @@ -107,9 +107,11 @@ $(".ui-history").click(function () { function checkHistoryList() { if ($("#history-list").children().length > 0) { + $('.pagination').show(); $(".ui-nohistory").hide(); $(".ui-import-from-browser").hide(); } else if ($("#history-list").children().length == 0) { + $('.pagination').hide(); $(".ui-nohistory").slideDown(); getStorageHistory(function (data) { if (data && data.length > 0 && getLoginState() && historyList.items.length == 0) { |