Changing 'var' to 'let' as requested in PR #9
This commit is contained in:
parent
8bcd50befc
commit
18c257d60c
@ -66,9 +66,8 @@ document.addEventListener("click", (e) => {
|
||||
hideModal("loadModal");
|
||||
}
|
||||
}
|
||||
|
||||
else if (action.includes("deselectAll")) {
|
||||
var container = document.getElementById("editSelectionContainer");
|
||||
let container = document.getElementById("editSelectionContainer");
|
||||
deselectAll(container);
|
||||
}
|
||||
|
||||
|
@ -194,7 +194,7 @@ const getSelectionData = (container = null, keys = null, keysLength = 0) => {
|
||||
}
|
||||
|
||||
const deselectAll = (container = null) => {
|
||||
var selAlls = container.querySelectorAll('.selAll');
|
||||
let selAlls = container.querySelectorAll('.selAll');
|
||||
for (var i = 0; i < selAlls.length; i++) {
|
||||
var selAll = selAlls[i];
|
||||
selAll.checked = false;
|
||||
|
Loading…
Reference in New Issue
Block a user