We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0623323 commit 629a48fCopy full SHA for 629a48f
app/try_ruby.rb
@@ -62,7 +62,7 @@ def initialize
62
63
#If hold down the control and the Enter key goes down, run
64
$document.on :keydown, '#editor' do |e|
65
- if (e.key == "Enter" && (e.ctrl? && !Helper.ios?)) || ((Helper.macos? || Helper.ios?) && e.meta?)
+ if ((e.ctrl? && !Helper.ios?) || ((Helper.macos? || Helper.ios?) && e.meta?)) && e.key == "Enter"
66
e.prevent
67
do_run
68
end
0 commit comments