Show More
@@ -21,7 +21,7 b'' | |||||
21 |
|
21 | |||
22 | var form = $('#form'); |
|
22 | var form = $('#form'); | |
23 | $('textarea').keypress(function(event) { |
|
23 | $('textarea').keypress(function(event) { | |
24 | if (event.which == 13) { |
|
24 | if (event.which == 13 && event.ctrlKey) { | |
25 | form.submit(); |
|
25 | form.submit(); | |
26 | } |
|
26 | } | |
27 | }); No newline at end of file |
|
27 | }); |
General Comments 0
You need to be logged in to leave comments.
Login now