mirror of https://github.com/calzoneman/sync.git
Amendment to last commit
This commit is contained in:
parent
5cf8a089ab
commit
671b6398ab
|
@ -174,7 +174,7 @@ $('#chatline').keydown(function(ev) {
|
||||||
$('#chatline').val('');
|
$('#chatline').val('');
|
||||||
}
|
}
|
||||||
else if(ev.keyCode == 9) { // Tab completion
|
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 current = words[words.length - 1].toLowerCase();
|
||||||
var users = $('#userlist').children();
|
var users = $('#userlist').children();
|
||||||
var match = null;
|
var match = null;
|
||||||
|
|
Loading…
Reference in New Issue