mirror of
https://github.com/Frooodle/Stirling-PDF.git
synced 2025-09-12 17:52:13 +02:00
Unnecessary code removal
This commit is contained in:
parent
be1ab4954c
commit
f0b6ef35e7
@ -74,7 +74,6 @@ class PdfContainer {
|
|||||||
window.addFilesBlankAll = this.addFilesBlankAll;
|
window.addFilesBlankAll = this.addFilesBlankAll;
|
||||||
window.removeAllElements = this.removeAllElements;
|
window.removeAllElements = this.removeAllElements;
|
||||||
window.resetPages = this.resetPages;
|
window.resetPages = this.resetPages;
|
||||||
window.selectAll = false;
|
|
||||||
|
|
||||||
let undoBtn = document.getElementById('undo-btn');
|
let undoBtn = document.getElementById('undo-btn');
|
||||||
let redoBtn = document.getElementById('redo-btn');
|
let redoBtn = document.getElementById('redo-btn');
|
||||||
@ -437,7 +436,6 @@ class PdfContainer {
|
|||||||
|
|
||||||
selectAll() {
|
selectAll() {
|
||||||
const checkboxes = document.querySelectorAll('.pdf-actions_checkbox');
|
const checkboxes = document.querySelectorAll('.pdf-actions_checkbox');
|
||||||
window.selectAll = true;
|
|
||||||
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');
|
||||||
|
|
||||||
@ -459,7 +457,6 @@ class PdfContainer {
|
|||||||
|
|
||||||
deselectAll() {
|
deselectAll() {
|
||||||
const checkboxes = document.querySelectorAll('.pdf-actions_checkbox');
|
const checkboxes = document.querySelectorAll('.pdf-actions_checkbox');
|
||||||
window.selectAll = false;
|
|
||||||
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');
|
||||||
|
|
||||||
@ -835,7 +832,6 @@ class PdfContainer {
|
|||||||
});
|
});
|
||||||
|
|
||||||
const checkboxes = document.querySelectorAll('.pdf-actions_checkbox');
|
const checkboxes = document.querySelectorAll('.pdf-actions_checkbox');
|
||||||
window.selectAll = false;
|
|
||||||
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');
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user