1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-09-17 18:26:57 +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

@ -61,7 +61,7 @@ FFZ.channel_metadata = {};
// Version
var VER = FFZ.version_info = {
major: 3, minor: 5, revision: 344,
major: 3, minor: 5, revision: 345,
toString: function() {
return [VER.major, VER.minor, VER.revision].join(".") + (VER.extra || "");
}

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);