diff --git a/www/assets/js/client.js b/www/assets/js/client.js index d1dcca40..37a663f2 100644 --- a/www/assets/js/client.js +++ b/www/assets/js/client.js @@ -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;