mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-07-05 10:38:30 +00:00
3.5.355. Auto-Pause Hosted Channels. CSS tweaks. Refactor chat hover pause so that VOD chat uses the same code. Do per-channel badge CSS for chat replay. Stuff.
This commit is contained in:
parent
1b4ac0bad8
commit
34eb700c14
13 changed files with 231 additions and 646 deletions
|
@ -937,7 +937,7 @@ FFZ.prototype.render_token = function(render_links, warn_links, render_bits, tok
|
|||
//return `<img class="emoticon ffz-tooltip${cls||''}"${extra||''} src="${utils.quote_attr(src)}"${srcset ? ' srcset="' + utils.quote_attr(srcset) + '"' : ''} alt="${utils.quote_attr(token.altText)}">`;
|
||||
var f = this, prefix = '', suffix = '';
|
||||
if ( token.modifiers && token.modifiers.length ) {
|
||||
prefix = '<span class="emoticon modified-emoticon">';
|
||||
prefix = '<span class="emoticon modified-emoticon"' + (token.ffzEmote ? ' data-ffz-emote="' + token.ffzEmote + '"' : '') + '>';
|
||||
suffix = _.map(token.modifiers, function(t) {
|
||||
return '<span>' + f.render_token(render_links, warn_links, render_bits, t) + '</span>';
|
||||
}).join('') + '</span>';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue