Case insensitive tab completion

This commit is contained in:
Mattias Erming 2014-06-17 00:59:01 +02:00
parent 5bd148d7b5
commit 7e0672e035
1 changed files with 2 additions and 2 deletions

View File

@ -345,8 +345,8 @@ $(function() {
}); });
return $.grep( return $.grep(
words, words,
function(cmd) { function(w) {
return !cmd.indexOf(word); return !w.toLowerCase().indexOf(word.toLowerCase());
} }
); );
} }