1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-08-07 06:40:54 +00:00

Add support for Feature Friday. Fix emoticon tooltips. Add option to disable username capitalization.

This commit is contained in:
SirStendec 2015-01-15 22:19:05 -05:00
parent ac81def52e
commit e85633cae3
8 changed files with 363 additions and 20 deletions

View file

@ -99,7 +99,7 @@ FFZ.prototype.setup_bttv = function() {
// Why is emote parsing so bad? ;_;
_.each(emotes, function(emote) {
var eo = ['<img class="emoticon" src="' + emote.url + '" alt="' + emote.title + '" />'],
var eo = ['<img class="emoticon" src="' + emote.url + (emote.hidden ? "" : '" alt="' + emote.name + '" title="' + emote.name) + '" />'],
old_tokens = tokens;
tokens = [];