Verified Commit 50da11b5 authored by Philipp Zschumme's avatar Philipp Zschumme
Browse files

Fixes search filter does not show matching searchables inside other elements with .tc-program

parent 94bbf9db
Pipeline #3707 passed with stages
in 9 seconds
......@@ -131,7 +131,7 @@ function applySearchFilter(filter) {
}
// make all sections visible that contain at least one visible searchable
let categories = document.getElementsByClassName("tc-section");
let categories = document.querySelectorAll(".tc-section, .tc-program"); // since tc-program can also have subsections with <param-ref>
for (let i = 0; i < categories.length; i++) {
let searchables = categories[i].getElementsByClassName("tc-searchable");
let k = 0;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment