Fix shift+click on all pages launching a new window

This commit is contained in:
Matt Lilley
2022-11-14 22:22:28 +00:00
committed by Tienson Qin
parent 1e09f35063
commit 0827a529f7

View File

@@ -1051,6 +1051,7 @@
(swap! *checks update idx not))})]
[:td.name [:a {:on-click (fn [e]
(.preventDefault e)
(let [repo (state/get-current-repo)]
(when (gobj/get e "shiftKey")
(state/sidebar-add-block!