PR #10

Merged
maximstewart merged 6 commits from master into develop 2020-08-25 01:46:43 +00:00
2 changed files with 2 additions and 3 deletions
Showing only changes of commit 18c257d60c - Show all commits

View File

@ -66,9 +66,8 @@ document.addEventListener("click", (e) => {
hideModal("loadModal"); hideModal("loadModal");
} }
} }
else if (action.includes("deselectAll")) { else if (action.includes("deselectAll")) {
var container = document.getElementById("editSelectionContainer"); let container = document.getElementById("editSelectionContainer");
deselectAll(container); deselectAll(container);
} }

View File

@ -194,7 +194,7 @@ const getSelectionData = (container = null, keys = null, keysLength = 0) => {
} }
const deselectAll = (container = null) => { const deselectAll = (container = null) => {
var selAlls = container.querySelectorAll('.selAll'); let selAlls = container.querySelectorAll('.selAll');
for (var i = 0; i < selAlls.length; i++) { for (var i = 0; i < selAlls.length; i++) {
var selAll = selAlls[i]; var selAll = selAlls[i];
selAll.checked = false; selAll.checked = false;