Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Kale-Ko committed Mar 9, 2022
1 parent b8a7e7d commit c034daf
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -130,12 +130,12 @@

/*for (var index = 0; index < sidebar.children.length; index++) {
var element = sidebar.children.item(index)
if (element.tagName == "H3") {
header = index
element.classList.add("dropdown")
element.addEventListener("click", event => {
if (!event.srcElement.classList.contains("open")) {
event.srcElement.classList.add("open")
Expand All @@ -147,7 +147,7 @@
element.remove()
element.classList.add("dropdown-element")
sidebar.children.item(header).appendChild(element)
index--
}
}*/
Expand Down

0 comments on commit c034daf

Please sign in to comment.