neon_arch commited on
Commit
f4bcb32
1 Parent(s): 6bfdc75

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

Browse files
Files changed (1) hide show
  1. public/static/error_box.js +5 -1
public/static/error_box.js CHANGED
@@ -1,3 +1,7 @@
 
 
 
 
1
  function toggleErrorBox() {
2
-
3
  }
 
1
+ /**
2
+ * This function provides the ability for the button to toggle the dropdown error-box
3
+ * in the search page.
4
+ */
5
  function toggleErrorBox() {
6
+ document.querySelector('.dropdown_error_box').classList.toggle('show')
7
  }