From 36758a6a3516930e82d23e5c3c204880441fc5fb Mon Sep 17 00:00:00 2001 From: "stirlingbot[bot]" <195170888+stirlingbot[bot]@users.noreply.github.com> Date: Mon, 5 May 2025 23:23:08 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=A4=96=20format=20everything=20with=20pre?= =?UTF-8?q?-commit=20by=20=20(#3479)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Auto-generated by [create-pull-request][1] with **stirlingbot** [1]: https://github.com/peter-evans/create-pull-request Signed-off-by: stirlingbot[bot] <195170888+stirlingbot[bot]@users.noreply.github.com> Co-authored-by: stirlingbot[bot] <195170888+stirlingbot[bot]@users.noreply.github.com> --- src/main/resources/static/js/multitool/PdfContainer.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/resources/static/js/multitool/PdfContainer.js b/src/main/resources/static/js/multitool/PdfContainer.js index 32c34ba46..90d130b2f 100644 --- a/src/main/resources/static/js/multitool/PdfContainer.js +++ b/src/main/resources/static/js/multitool/PdfContainer.js @@ -462,7 +462,7 @@ class PdfContainer { this.showButton(selectIcon, true); this.showButton(deselectIcon, false); - + checkboxes.forEach((checkbox) => { checkbox.checked = false; @@ -583,7 +583,7 @@ class PdfContainer { const selectIcon = document.getElementById('select-All-Container'); const deselectIcon = document.getElementById('deselect-All-Container'); - + if (window.selectPage) { // Check if selectPage mode is active console.log("Page Select on. Showing buttons"); //Check if no pages are selected @@ -907,7 +907,7 @@ class PdfContainer { if (!allSelected) { this.showButton(document.getElementById('select-All-Container'), true); } - + if (window.selectedPages.length > 0) { this.showButton(document.getElementById('deselect-All-Container'), true); }