filter box closed for example tags
This commit is contained in:
parent
e7384bc1ed
commit
f0aa616444
1 changed files with 1 additions and 1 deletions
|
@ -107,7 +107,7 @@ function useFragment() {
|
||||||
let re = /^(require|exclude)_|hide_filters/;
|
let re = /^(require|exclude)_|hide_filters/;
|
||||||
if (Array.from(set).every(x => re.test(x))) {
|
if (Array.from(set).every(x => re.test(x))) {
|
||||||
allBoxes.forEach(b => b.checked = set.has(b.id));
|
allBoxes.forEach(b => b.checked = set.has(b.id));
|
||||||
details.open = !set.has('hide_filters');
|
details.open = !frag.match(/hide_filters|example\b/);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue