0
0
mirror of https://github.com/neon-mmd/websurfx.git synced 2024-10-18 06:22:53 -04:00

feat: add the code to allow the button to toggle the error-box (#185)

This commit is contained in:
neon_arch 2023-08-21 17:29:52 +03:00
parent 6bfdc75365
commit f4bcb32cee

View File

@ -1,3 +1,7 @@
/**
* This function provides the ability for the button to toggle the dropdown error-box
* in the search page.
*/
function toggleErrorBox() {
document.querySelector('.dropdown_error_box').classList.toggle('show')
}