Explorar el Código

fix: always prevent default

Weihua Lu hace 4 años
padre
commit
749b377ac9
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/main/frontend/modules/shortcut/core.cljs

+ 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)))