i broke hide_filters oops
This commit is contained in:
parent
3be9e79615
commit
ed18b1113e
1 changed files with 2 additions and 1 deletions
|
@ -100,7 +100,8 @@ function useFragment() {
|
|||
clearForm();
|
||||
} else {
|
||||
let set = new Set(frag.split(';'));
|
||||
if (new Array(...set).every(x => /^(require|exclude)_/.test(x))) {
|
||||
let re = /^(require|exclude)_|hide_filters/;
|
||||
if (new Array(...set).every(x => re.test(x))) {
|
||||
allBoxes.forEach(b => b.checked = set.has(b.id));
|
||||
let details = document.getElementById('filters-details');
|
||||
details.open = !set.has('hide_filters');
|
||||
|
|
Loading…
Reference in a new issue