Skip to content

Commit

Permalink
fix var usage
Browse files Browse the repository at this point in the history
Co-authored-by: Alan Dooley <a.dooley@f5.com>
  • Loading branch information
nginx-jack and ADubhlaoich committed Jan 24, 2025
1 parent 9353c11 commit b69aa30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/js/sidebar-v2.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ document.addEventListener("DOMContentLoaded", function() {
if (currentPage) {
let parentLabel = currentPage.closest("li");
while (parentLabel) {
var checkbox = parentLabel.querySelector(".toggle-checkbox");
let checkbox = parentLabel.querySelector(".toggle-checkbox");
if (checkbox) {
checkbox.checked = true;
}
Expand Down

0 comments on commit b69aa30

Please # to comment.