Prechádzať zdrojové kódy

fix: always prevent default

Weihua Lu 4 rokov pred
rodič
commit
749b377ac9

+ 1 - 1
src/main/frontend/modules/shortcut/core.cljs

@@ -68,6 +68,6 @@
 (defn install-shortcuts!
   []
   (let [result (->> handler
-                    (map #(install-shortcut! % {}))
+                    (map #(install-shortcut! % {:prevent-default? true}))
                     doall)]
     (reset! installed result)))