mirror of
https://github.com/neon-mmd/websurfx.git
synced 2024-11-21 21:48:21 -05:00
✨ feat: add the code to allow the button to toggle the error-box (#185)
This commit is contained in:
parent
6bfdc75365
commit
f4bcb32cee
@ -1,3 +1,7 @@
|
|||||||
|
/**
|
||||||
|
* This function provides the ability for the button to toggle the dropdown error-box
|
||||||
|
* in the search page.
|
||||||
|
*/
|
||||||
function toggleErrorBox() {
|
function toggleErrorBox() {
|
||||||
|
document.querySelector('.dropdown_error_box').classList.toggle('show')
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user