Show More
@@ -99,7 +99,7 var IPython = (function (IPython) { | |||||
99 | var that = $(this); |
|
99 | var that = $(this); | |
100 | // Upon ENTER, click the OK button. |
|
100 | // Upon ENTER, click the OK button. | |
101 | that.find('input[type="text"]').keydown(function (event, ui) { |
|
101 | that.find('input[type="text"]').keydown(function (event, ui) { | |
102 |
if (event.which === |
|
102 | if (event.which === utils.keycodes.ENTER) { | |
103 | that.parent().find('button').first().click(); |
|
103 | that.parent().find('button').first().click(); | |
104 | } |
|
104 | } | |
105 | }); |
|
105 | }); |
General Comments 0
You need to be logged in to leave comments.
Login now