Fix sidebar link not working

pull/3698/head
Daniel 4 years ago
parent e54b4b6d3a
commit 51f1debf4b

@ -94,7 +94,7 @@ domReady(() => {
const button = document.querySelectorAll(SELECTOR_DATA_TOGGLE) const button = document.querySelectorAll(SELECTOR_DATA_TOGGLE)
for (const btn of button) { for (const btn of button) {
btn.addEventListener('click', event => { btn.addEventListener('click', event => {
event.preventDefault() // event.preventDefault()
const treeviewMenu = event.target as Element const treeviewMenu = event.target as Element

Loading…
Cancel
Save