From ac1758b8daf789c3f6bbdc5c8fd7af9acd3b7dea Mon Sep 17 00:00:00 2001 From: lcq Date: Sat, 25 Dec 2021 00:17:24 +0800 Subject: [PATCH] update --- view/scripts/controllers/tags-controller.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/view/scripts/controllers/tags-controller.js b/view/scripts/controllers/tags-controller.js index c1bc558..86605b3 100644 --- a/view/scripts/controllers/tags-controller.js +++ b/view/scripts/controllers/tags-controller.js @@ -88,7 +88,7 @@ app.controller('tagsCtr', ['$scope', '$filter', '$state', '$window', '$statePara clearInterval(id); } }, 10); - } else if ($scope.showMode == 'item' && bookmarks.length == $scope.pageSize) { + } else if ($scope.showMode == 'item' && bookmarks.length == $scope.pageSize && $scope.currentTagId == -1) { $timeout(() => { $("#" + bookmarks[bookmarks.length * 2 / 5 - 1].id).after(`
`); $("#" + bookmarks[bookmarks.length * 4 / 5 - 1].id).after(`
`);