0
0
mirror of https://github.com/neon-mmd/websurfx.git synced 2024-11-21 13:38:21 -05: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')
}