summaryrefslogtreecommitdiff
path: root/dropdown-box.js
diff options
context:
space:
mode:
Diffstat (limited to 'dropdown-box.js')
-rw-r--r--dropdown-box.js7
1 files changed, 0 insertions, 7 deletions
diff --git a/dropdown-box.js b/dropdown-box.js
deleted file mode 100644
index 47461fb..0000000
--- a/dropdown-box.js
+++ /dev/null
@@ -1,7 +0,0 @@
-function toggleDropdown(headerClicked) {
- let body = headerClicked.nextElementSibling;
- let arrow = headerClicked.children[1];
-
- body.classList.toggle("open");
- arrow.classList.toggle("open");
-}