1
0
Эх сурвалжийг харах

Fix shift+click on all pages launching a new window

Matt Lilley 2 жил өмнө
parent
commit
0827a529f7

+ 1 - 0
src/main/frontend/components/page.cljs

@@ -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!