filter box closed for example tags

This commit is contained in:
Rhiannon Morris 2022-06-08 14:37:02 +02:00
parent e7384bc1ed
commit f0aa616444

View file

@ -107,7 +107,7 @@ function useFragment() {
let re = /^(require|exclude)_|hide_filters/;
if (Array.from(set).every(x => re.test(x))) {
allBoxes.forEach(b => b.checked = set.has(b.id));
details.open = !set.has('hide_filters');
details.open = !frag.match(/hide_filters|example\b/);
}
}