Skip to content

Commit

Permalink
remove prevent default on key press
Browse files Browse the repository at this point in the history
  • Loading branch information
sprocketc committed Nov 3, 2023
1 parent 6df62b3 commit 0423228
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/renderer/frame/views.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@
;; This is a different browsing context inside an iframe.
;; We need to simulate the events to the parent window.
on-keyboard-event (fn [event]
(.preventDefault event)
(.dispatchEvent js/window.parent.document
(js/KeyboardEvent. (.-type event)
event)))]
Expand Down

0 comments on commit 0423228

Please sign in to comment.