1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-07-05 10:38:30 +00:00

3.5.345. Fix for browsers not supporting Object.assign (so... Pale Moon)

This commit is contained in:
SirStendec 2016-10-23 20:38:09 -04:00
parent cb7c4441eb
commit 748c437a57
3 changed files with 7 additions and 2 deletions

View file

@ -1175,7 +1175,7 @@ FFZ.prototype.tokenize_emotes = function(user, room, tokens, do_report) {
}
// Push this emote to the tokens.
var token = Object.assign({}, emote.token);
var token = _.extend({}, emote.token);
token.modifiers = [];
new_tokens.push(token);