From 3684e64847dd90de1fd63203e8a8dcc1985e6932 Mon Sep 17 00:00:00 2001 From: Stefan Breunig Date: Fri, 22 Mar 2013 19:00:28 +0100 Subject: [PATCH] fix #31 --- code/chat.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/chat.js b/code/chat.js index 3e3ec138..c8584d9f 100644 --- a/code/chat.js +++ b/code/chat.js @@ -26,7 +26,7 @@ window.chat.handleTabCompletion = function() { var posStart = curPos - word.length; var newText = text.substring(0, posStart); - newText += nick + (posStart === 0 ? ': ' : ' '); + newText += '@' + nick + ' '; newText += text.substring(curPos); el.val(newText); }