Fix emotes
This commit is contained in:
parent
e8daf33146
commit
7711587f15
2 changed files with 4 additions and 4 deletions
|
|
@ -2269,8 +2269,8 @@ function execEmotes(msg) {
|
|||
}
|
||||
|
||||
CHANNEL.emotes.forEach(function (e) {
|
||||
msg = msg.replace(e.regex, '<img class="channel-emote" src="' +
|
||||
e.image + '" title="' + e.name + '">');
|
||||
msg = msg.replace(e.regex, '$1<img class="channel-emote" src="' +
|
||||
e.image + '" title="' + e.name + '">$2');
|
||||
});
|
||||
|
||||
return msg;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue