Show More
@@ -179,8 +179,12 b' var IPython = (function (IPython) {' | |||||
179 | return true; |
|
179 | return true; | |
180 | }; |
|
180 | }; | |
181 | } else if (event.which === key.ESC) { |
|
181 | } else if (event.which === key.ESC) { | |
|
182 | if (!IPython.tooltip._hidden) { | |||
182 | IPython.tooltip.remove_and_cancel_tooltip(true); |
|
183 | IPython.tooltip.remove_and_cancel_tooltip(true); | |
183 | return true; |
|
184 | return true; | |
|
185 | } else { | |||
|
186 | return false; | |||
|
187 | } | |||
184 | } else if (event.which === key.DOWNARROW && event.type === 'keydown') { |
|
188 | } else if (event.which === key.DOWNARROW && event.type === 'keydown') { | |
185 | // If we are not at the bottom, let CM handle the down arrow and |
|
189 | // If we are not at the bottom, let CM handle the down arrow and | |
186 | // prevent the global keydown handler from handling it. |
|
190 | // prevent the global keydown handler from handling it. |
General Comments 0
You need to be logged in to leave comments.
Login now