surfx / public /static /error_box.js
neon_arch
✨ feat: add the code to allow the button to toggle the error-box (#185)
f4bcb32
raw
history blame
222 Bytes
/**
* 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')
}