Fix sidebar link not working
This commit is contained in:
parent
e54b4b6d3a
commit
51f1debf4b
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue