From 671b6398ab2063ef2f7dbd6274c0eace5a236e66 Mon Sep 17 00:00:00 2001 From: calzoneman Date: Sun, 17 Mar 2013 20:27:18 -0500 Subject: [PATCH] Amendment to last commit --- www/assets/js/client.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;