(search) Fix script loading for mobile support
This commit is contained in:
parent
280132dad0
commit
38d20022ad
@ -2,7 +2,7 @@ document.getElementsByTagName('body')[0].setAttribute('data-has-js', 'true');
|
||||
|
||||
// Add a button to open the filters for mobile; we do this in js to not pollute the DOM for text-only browsers
|
||||
const button = document.createElement('button');
|
||||
button.setAttribute('id', 'mcfest');
|
||||
button.setAttribute('id', 'mcfeast');
|
||||
button.setAttribute('aria-controls', '#filters');
|
||||
button.onclick = (event) => {
|
||||
setDisplay(document.getElementById('filters'), 'block');
|
||||
|
Loading…
Reference in New Issue
Block a user