diff --git a/src/main/frontend/components/page.cljs b/src/main/frontend/components/page.cljs index 64f8d85a8..dd3f0c847 100644 --- a/src/main/frontend/components/page.cljs +++ b/src/main/frontend/components/page.cljs @@ -217,7 +217,6 @@ (when (util/wrapped-by-quotes? @*title-value) (swap! *title-value util/unquote-string) (gobj/set (rum/deref input-ref) "value" @*title-value)) - (state/set-state! :editor/editing-page-title? false) (cond (= old-name @*title-value) (reset! *edit? false) @@ -252,7 +251,6 @@ (reset! *title-value old-name) (reset! *edit? false)))}]] [:a.page-title {:on-mouse-down (fn [e] - (state/set-state! :editor/editing-page-title? true) (when (util/right-click? e) (state/set-state! :page-title/context {:page page-name}))) :on-click (fn [e] diff --git a/src/main/frontend/state.cljs b/src/main/frontend/state.cljs index 0a4e57d06..bcf59e905 100644 --- a/src/main/frontend/state.cljs +++ b/src/main/frontend/state.cljs @@ -111,7 +111,6 @@ :editor/args nil :editor/on-paste? false :editor/last-key-code nil - :editor/editing-page-title? false ;; for audio record :editor/record-status "NONE"