mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-07-02 17:18:31 +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
|
@ -1,3 +1,8 @@
|
|||
<div class="list-header">3.5.345 <time datetime="2016-10-23">(2016-10-23)</time></div>
|
||||
<ul class="chat-menu-content menu-side-padding">
|
||||
<li>Fixed: Bug preventing FFZ emoticons from working on browsers not supporting <code>Object.assign</code>.</li>
|
||||
</ul>
|
||||
|
||||
<div class="list-header">3.5.344 <time datetime="2016-10-22">(2016-10-22)</time></div>
|
||||
<ul class="chat-menu-content menu-side-padding">
|
||||
<li>Added: Support for special rendering of modifier emoticons.</li>
|
||||
|
|
|
@ -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 || "");
|
||||
}
|
||||
|
|
|
@ -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