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