This commit is contained in:
Stefan Breunig 2013-03-22 19:00:28 +01:00
parent 0bb457ceda
commit 3684e64847

View File

@ -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);
}