Skip to content

Commit

Permalink
fixed onclick function not changing while partialselected
Browse files Browse the repository at this point in the history
  • Loading branch information
NSPC911 committed Sep 30, 2024
1 parent c88fafe commit 2c8048e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions webUI/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -538,6 +538,10 @@ function selectAll(compressedstring, element) {
function partialSelected(element) {
element.innerHTML =
'<img src="images/select-all-button/chiseled_bookshelf_has_selected.png" class="category-label-selectall-img"><div class="category-label-selectall-hovertext">Select All</div>';
const compressedstring = element.onclick.toString().split("'")[1];
element.onclick = function () {
selectAll(compressedstring, element);
};
}

function unselectAll(compressedstring, element) {
Expand Down

0 comments on commit 2c8048e

Please sign in to comment.