Explorar o código

Fix sidebar link not working

Daniel %!s(int64=3) %!d(string=hai) anos
pai
achega
51f1debf4b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      ts/treeview.ts

+ 1 - 1
ts/treeview.ts

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