Amendment to last commit

This commit is contained in:
calzoneman 2013-03-17 20:27:18 -05:00
parent 5cf8a089ab
commit 671b6398ab
1 changed files with 1 additions and 1 deletions

View File

@ -174,7 +174,7 @@ $('#chatline').keydown(function(ev) {
$('#chatline').val('');
}
else if(ev.keyCode == 9) { // Tab completion
var words = $('#chatline').val().split();
var words = $('#chatline').val().split(' ');
var current = words[words.length - 1].toLowerCase();
var users = $('#userlist').children();
var match = null;