Merge pull request #1837 from syeopite/master
Enhance search filter UI for JS disabled userspull/1901/head
commit
3286328de4
@ -1,13 +0,0 @@
|
||||
function toggle_comments(event) {
|
||||
var target = event.target;
|
||||
var body = document.getElementById('filters');
|
||||
if (body.style.display === 'flex') {
|
||||
target.innerHTML = '[ + ]';
|
||||
body.style.display = 'none';
|
||||
} else {
|
||||
target.innerHTML = '[ - ]';
|
||||
body.style.display = 'flex';
|
||||
}
|
||||
}
|
||||
|
||||
document.getElementById('togglefilters').onclick = toggle_comments;
|
Loading…
Reference in New Issue