Skip to content

Commit 0432fef

Browse files
committed
Fix history list might check pagination on clear and open
1 parent 42d6843 commit 0432fef

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

public/js/cover.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,9 +107,11 @@ $(".ui-history").click(function () {
107107

108108
function checkHistoryList() {
109109
if ($("#history-list").children().length > 0) {
110+
$('.pagination').show();
110111
$(".ui-nohistory").hide();
111112
$(".ui-import-from-browser").hide();
112113
} else if ($("#history-list").children().length == 0) {
114+
$('.pagination').hide();
113115
$(".ui-nohistory").slideDown();
114116
getStorageHistory(function (data) {
115117
if (data && data.length > 0 && getLoginState() && historyList.items.length == 0) {

0 commit comments

Comments
 (0)