Fix history list might check pagination on clear and open
This commit is contained in:
parent
42d684329f
commit
0432fef267
1 changed files with 2 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue