From 7aed2fbb559dcb25f6e7b231cc3ed64a8ca456b8 Mon Sep 17 00:00:00 2001 From: MinRK Date: Thu, 9 Oct 2014 11:53:15 -0700 Subject: [PATCH] fix this.editor reference --- IPython/html/static/notebook/js/completer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }