Now with space after the if
This commit is contained in:
parent
21ee784ca1
commit
750e53fab2
1 changed files with 15 additions and 15 deletions
|
|
@ -173,7 +173,7 @@ var Autocomplete = function() {
|
|||
"Esc": function(editor) { editor.completer.detach(); },
|
||||
"Space": function(editor) { editor.completer.detach(); editor.insert(" ");},
|
||||
"Return": function(editor) {
|
||||
if(editor.completer.popup.getRow() > -1) {
|
||||
if (editor.completer.popup.getRow() > -1) {
|
||||
editor.completer.insertMatch();
|
||||
} else {
|
||||
editor.insert("\n");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue