Show More
@@ -285,14 +285,8 var IPython = (function (IPython) { | |||||
285 | Completer.prototype.close = function () { |
|
285 | Completer.prototype.close = function () { | |
286 | this.done = true; |
|
286 | this.done = true; | |
287 | $('#complete').remove(); |
|
287 | $('#complete').remove(); | |
288 |
if |
|
288 | this.editor.off('keydown', this._handle_keydown); | |
289 |
|
|
289 | this.editor.off('keypress', this._handle_keypress); | |
290 | this._handle_keydown = undefined; |
|
|||
291 | } |
|
|||
292 | if (this._handle_keypress) { |
|
|||
293 | this.editor.off('keypress', this._handle_keypress); |
|
|||
294 | this._handle_keypress = undefined; |
|
|||
295 | } |
|
|||
296 | this.visible = false; |
|
290 | this.visible = false; | |
297 | }; |
|
291 | }; | |
298 |
|
292 |
General Comments 0
You need to be logged in to leave comments.
Login now