From 0432fef26762cfa62338a11b864488a4d525b233 Mon Sep 17 00:00:00 2001 From: Wu Cheng-Han Date: Thu, 12 Jan 2017 17:14:32 +0800 Subject: [PATCH] Fix history list might check pagination on clear and open --- public/js/cover.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/public/js/cover.js b/public/js/cover.js index 2f35bd2..a8d8ecf 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) {