Show More
@@ -100,6 +100,7 b' var IPython = (function (IPython) {' | |||||
100 | that.find('input[type="text"]').keydown(function (event, ui) { |
|
100 | that.find('input[type="text"]').keydown(function (event, ui) { | |
101 | if (event.which === utils.keycodes.ENTER) { |
|
101 | if (event.which === utils.keycodes.ENTER) { | |
102 | that.find('.btn-primary').first().click(); |
|
102 | that.find('.btn-primary').first().click(); | |
|
103 | return false; | |||
103 | } |
|
104 | } | |
104 | }); |
|
105 | }); | |
105 | that.find('input[type="text"]').focus(); |
|
106 | that.find('input[type="text"]').focus(); |
General Comments 0
You need to be logged in to leave comments.
Login now