summaryrefslogtreecommitdiff
path: root/public/js/cover.js
diff options
context:
space:
mode:
authorYukai Huang2017-01-15 11:33:22 +0800
committerYukai Huang2017-01-15 11:33:22 +0800
commitc0e8306961a47e7a2ba52d0445c12aaa5fe07949 (patch)
treecec2451fd8afa80210d966d51dcba875bf3a6ffd /public/js/cover.js
parent0f833f099f61b93e76a5f32175580fc2c0b9dc1a (diff)
parent3d6b31921651e71ef68fdc88af4ddef50cc9bcb3 (diff)
Merge branch 'frontend-next' into t216-refactor-common
Diffstat (limited to 'public/js/cover.js')
-rw-r--r--public/js/cover.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/public/js/cover.js b/public/js/cover.js
index bc04923b..a3ed7784 100644
--- a/public/js/cover.js
+++ b/public/js/cover.js
@@ -118,9 +118,11 @@ $(".ui-history").click(() => {
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(data => {
if (data && data.length > 0 && getLoginState() && historyList.items.length == 0) {