fix: ctrl+o now saves the block first

pull/645/head
Haoji Xu 2020-09-08 01:50:30 +08:00 committed by Tienson Qin
parent 62b3192492
commit 3a87fd7a49
1 changed files with 1 additions and 0 deletions

View File

@ -908,6 +908,7 @@
[]
(when-let [page (get-nearest-page)]
(let [page-name (string/lower-case page)]
(.blur js/document.activeElement)
(route-handler/redirect! {:to :page
:path-params {:name page-name}}))))