mirror of
https://github.com/Stirling-Tools/Stirling-PDF.git
synced 2025-05-13 09:45:56 +00:00
🤖 format everything with pre-commit by <stirlingbot> (#3479)
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>
This commit is contained in:
parent
b8aa9f0cdf
commit
36758a6a35
@ -462,7 +462,7 @@ class PdfContainer {
|
|||||||
|
|
||||||
this.showButton(selectIcon, true);
|
this.showButton(selectIcon, true);
|
||||||
this.showButton(deselectIcon, false);
|
this.showButton(deselectIcon, false);
|
||||||
|
|
||||||
checkboxes.forEach((checkbox) => {
|
checkboxes.forEach((checkbox) => {
|
||||||
checkbox.checked = false;
|
checkbox.checked = false;
|
||||||
|
|
||||||
@ -583,7 +583,7 @@ class PdfContainer {
|
|||||||
|
|
||||||
const selectIcon = document.getElementById('select-All-Container');
|
const selectIcon = document.getElementById('select-All-Container');
|
||||||
const deselectIcon = document.getElementById('deselect-All-Container');
|
const deselectIcon = document.getElementById('deselect-All-Container');
|
||||||
|
|
||||||
if (window.selectPage) { // Check if selectPage mode is active
|
if (window.selectPage) { // Check if selectPage mode is active
|
||||||
console.log("Page Select on. Showing buttons");
|
console.log("Page Select on. Showing buttons");
|
||||||
//Check if no pages are selected
|
//Check if no pages are selected
|
||||||
@ -907,7 +907,7 @@ class PdfContainer {
|
|||||||
if (!allSelected) {
|
if (!allSelected) {
|
||||||
this.showButton(document.getElementById('select-All-Container'), true);
|
this.showButton(document.getElementById('select-All-Container'), true);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (window.selectedPages.length > 0) {
|
if (window.selectedPages.length > 0) {
|
||||||
this.showButton(document.getElementById('deselect-All-Container'), true);
|
this.showButton(document.getElementById('deselect-All-Container'), true);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user