mirror of https://github.com/logseq/logseq
fix: fn `make-confirm-modal` not respond to enter key-down
parent
59add5203f
commit
e7188a643e
|
@ -641,6 +641,8 @@
|
|||
[:span.flex.w-full.rounded-md.shadow-sm.sm:ml-3.sm:w-auto
|
||||
[:button.inline-flex.justify-center.w-full.rounded-md.border.border-transparent.px-4.py-2.bg-indigo-600.text-base.leading-6.font-medium.text-white.shadow-sm.hover:bg-indigo-500.focus:outline-none.focus:border-indigo-700.focus:shadow-outline-indigo.transition.ease-in-out.duration-150.sm:text-sm.sm:leading-5
|
||||
{:type "button"
|
||||
:autoFocus "on"
|
||||
:class "ui__modal-enter"
|
||||
:on-click #(and (fn? on-confirm)
|
||||
(on-confirm % {:close-fn close-fn
|
||||
:sub-selected (and *sub-checkbox-selected @*sub-checkbox-selected)}))}
|
||||
|
|
Loading…
Reference in New Issue