1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-08-06 14:20:56 +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

@ -27,7 +27,8 @@ FFZ.prototype.update_ui_link = function(link) {
has_emotes = false,
dark = (this.has_bttv ? BetterTTV.settings.get('darkenedMode') : false),
blue = (this.has_bttv ? BetterTTV.settings.get('showBlueButtons') : false);
blue = (this.has_bttv ? BetterTTV.settings.get('showBlueButtons') : false),
live = (this.feature_friday && this.feature_friday.live);
// Check for emoticons.
@ -42,6 +43,7 @@ FFZ.prototype.update_ui_link = function(link) {
}
link.classList.toggle('no-emotes', ! has_emotes);
link.classList.toggle('live', live);
link.classList.toggle('dark', dark);
link.classList.toggle('blue', blue);
}