Browse Source

fix(editor): copy page url with shortcut

Fix #9253
Andelf 2 years ago
parent
commit
23add8fd13
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/main/frontend/modules/shortcut/config.cljs

+ 1 - 1
src/main/frontend/modules/shortcut/config.cljs

@@ -418,7 +418,7 @@
 
    :editor/copy-page-url            {:binding false
                                      :inactive (not (util/electron?))
-                                     :fn      page-handler/copy-page-url}
+                                     :fn      #(page-handler/copy-page-url)}
 
    :ui/toggle-wide-mode             {:binding "t w"
                                      :fn      ui-handler/toggle-wide-mode!}