Show More
@@ -23,7 +23,7 var ITEM_FILE_SOURCE = 'fileSource'; | |||||
23 |
|
23 | |||
24 | var form = $('#form'); |
|
24 | var form = $('#form'); | |
25 | $('textarea').keypress(function(event) { |
|
25 | $('textarea').keypress(function(event) { | |
26 | if (event.which == 13 && event.ctrlKey) { |
|
26 | if ((event.which == 10 || event.which == 13) && event.ctrlKey) { | |
27 | form.find('input[type=submit]').click(); |
|
27 | form.find('input[type=submit]').click(); | |
28 | } |
|
28 | } | |
29 | }); |
|
29 | }); |
General Comments 0
You need to be logged in to leave comments.
Login now