Skip to content

Commit

Permalink
Change how filetree filters are handled
Browse files Browse the repository at this point in the history
  • Loading branch information
jmforsythe committed Sep 27, 2024
1 parent 299c6b2 commit 03081a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion static/javascript/sidebar.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ function get_include_exclude(filter_name, filter_id, filetree) {
let include = []
let exclude = []
children.forEach((c) => {
if (!filetree && !c.classList.contains("filetree")) return
if (filetree != c.classList.contains("filetree")) return
if (c.classList.contains("item_negated")) {
exclude.push(c.querySelector(".list_item_text").innerText)
} else {
Expand Down

0 comments on commit 03081a9

Please sign in to comment.