Skip to content
This repository has been archived by the owner on May 5, 2021. It is now read-only.

Commit

Permalink
Improve performance when deselecting a large category
Browse files Browse the repository at this point in the history
  • Loading branch information
bill-long committed Jun 12, 2020
1 parent 6463a0e commit 2c490bd
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions ui.html
Original file line number Diff line number Diff line change
Expand Up @@ -106,10 +106,9 @@

if (updateCategoryState) {
checkCategorySelectionState(tag.category);
}

if (document.getElementById('showOnlySelectedCheckbox').checked) {
updateVisibility();
if (document.getElementById('showOnlySelectedCheckbox').checked) {
updateVisibility();
}
}
}
}
Expand Down

0 comments on commit 2c490bd

Please sign in to comment.