diff --git a/IPython/html/static/notebook/js/completer.js b/IPython/html/static/notebook/js/completer.js index 2fde0c180..692813107 100644 --- a/IPython/html/static/notebook/js/completer.js +++ b/IPython/html/static/notebook/js/completer.js @@ -143,7 +143,7 @@ define([ } // We want a single cursor position. - if (this.editor.somethingSelected()|| editor.getSelections().length > 1) { + if (this.editor.somethingSelected()|| this.editor.getSelections().length > 1) { return; }