From 4073ce3ea443b40c591b92af2243166329f5a276 Mon Sep 17 00:00:00 2001 From: Nikita Khromov Date: Thu, 28 Nov 2024 12:38:07 +0700 Subject: [PATCH] Fix bug #71874 --- pdf/src/viewer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pdf/src/viewer.js b/pdf/src/viewer.js index bdf7a95250..18af0c94e1 100644 --- a/pdf/src/viewer.js +++ b/pdf/src/viewer.js @@ -611,7 +611,7 @@ if (pages[i] >= this.startVisiblePage && pages[i] <= this.endVisiblePage) { delete this.drawingPages[pages[i]].Image; - oThumbnails && oThumbnails._repaintPage(i); + oThumbnails && oThumbnails._repaintPage(pages[i]); } }