From 764e8a750aba1825bd3abab4821403f41afa0b2e Mon Sep 17 00:00:00 2001 From: xiaoqidun Date: Tue, 20 Oct 2026 21:26:02 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E7=9B=AE=E5=BD=95=E8=B7=B3=E8=BD=AC):=20?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=9B=AE=E5=BD=95=E8=B7=B3=E8=BD=AC=E5=8F=8A?= =?UTF-8?q?=E7=BC=A9=E7=95=A5=E5=9B=BE=E8=81=94=E5=8A=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/webui/ofdgo.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/webui/ofdgo.js b/assets/webui/ofdgo.js index c2d4068..98551bf 100644 --- a/assets/webui/ofdgo.js +++ b/assets/webui/ofdgo.js @@ -10097,12 +10097,12 @@ function setCurrentPage(index) { } function updatePageListCurrent(force = false) { + const current = el.pageList.querySelector(".page-list-item[data-current]"); if (state.thumbnailWindow) { if (!force && state.pageListCurrent === state.pageIndex) return; state.pageListCurrent = state.pageIndex; if (state.showPages && !el.pageList.hidden) revealThumbnail(state.pageIndex); } - const current = el.pageList.querySelector(".page-list-item[data-current]"); if (current) { if (!force && Number.parseInt(current.dataset.pageIndex, 10) === state.pageIndex) { return;