Case insensitive tab completion
This commit is contained in:
parent
5bd148d7b5
commit
7e0672e035
@ -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());
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user