✨ feat: add the code to allow the button to toggle the error-box (#185)
This commit is contained in:
parent
6bfdc75365
commit
f4bcb32cee
1 changed files with 5 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue