fix #31
This commit is contained in:
parent
0bb457ceda
commit
3684e64847
@ -26,7 +26,7 @@ window.chat.handleTabCompletion = function() {
|
|||||||
|
|
||||||
var posStart = curPos - word.length;
|
var posStart = curPos - word.length;
|
||||||
var newText = text.substring(0, posStart);
|
var newText = text.substring(0, posStart);
|
||||||
newText += nick + (posStart === 0 ? ': ' : ' ');
|
newText += '@' + nick + ' ';
|
||||||
newText += text.substring(curPos);
|
newText += text.substring(curPos);
|
||||||
el.val(newText);
|
el.val(newText);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user