##// END OF EJS Templates
Shrink cleanup lines
Jonathan Frederic -
Show More
@@ -285,14 +285,8 var IPython = (function (IPython) {
285 285 Completer.prototype.close = function () {
286 286 this.done = true;
287 287 $('#complete').remove();
288 if (this._handle_keydown) {
289 this.editor.off('keydown', this._handle_keydown);
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 }
288 this.editor.off('keydown', this._handle_keydown);
289 this.editor.off('keypress', this._handle_keypress);
296 290 this.visible = false;
297 291 };
298 292
General Comments 0
You need to be logged in to leave comments. Login now