From 51f1debf4b6d570cd26e99a38f987ff42b05e057 Mon Sep 17 00:00:00 2001 From: Daniel <50356015+danny007in@users.noreply.github.com> Date: Sun, 16 May 2021 07:09:43 +0530 Subject: [PATCH] Fix sidebar link not working --- ts/treeview.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ts/treeview.ts b/ts/treeview.ts index d7d58d001..001d08995 100644 --- a/ts/treeview.ts +++ b/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