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:
parent
cb7c4441eb
commit
748c437a57
3 changed files with 7 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue