Explorar el Código

fix click not working on cards preview mode

llcc hace 3 años
padre
commit
5c29517636
Se han modificado 1 ficheros con 1 adiciones y 3 borrados
  1. 1 3
      src/main/frontend/extensions/srs.cljs

+ 1 - 3
src/main/frontend/extensions/srs.cljs

@@ -441,9 +441,7 @@
         [:div.ls-card.content
          {:class (when (or preview? modal?)
                    (str (util/hiccup->class ".flex.flex-col.resize.overflow-y-auto")
-                        (when modal? " modal-cards")))
-          :on-mouse-down (fn [e]
-                           (util/stop e))}
+                        (when modal? " modal-cards")))}
          (let [repo (state/get-current-repo)]
            [:div {:style {:margin-top 20}}
             (component-block/breadcrumb {} repo root-block-id {})])