Explorar el Código

Fix sidebar link not working

Daniel hace 3 años
padre
commit
51f1debf4b
Se han modificado 1 ficheros con 1 adiciones y 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