diff --git a/modules/jquery.codeEditor.js b/modules/jquery.codeEditor.js index b3a5457a..b6914b35 100644 --- a/modules/jquery.codeEditor.js +++ b/modules/jquery.codeEditor.js @@ -120,7 +120,7 @@ }, aceGotoLineColumn: function () { var lineinput = prompt( 'Enter line number:', 'line:column' ), - matches = lineinput.split( ':' ), + matches = lineinput ? lineinput.split( ':' ) : [], line = 0, column = 0;