split hamburger/dropdown css out- nicer looking index
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
function toggleDropdown(headerClicked) {
|
||||
let body = headerClicked.nextElementSibling;
|
||||
let arrow = headerClicked.children[1];
|
||||
|
||||
body.classList.toggle("open");
|
||||
arrow.classList.toggle("open");
|
||||
}
|
||||
Reference in New Issue
Block a user