1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-08-06 22:30:57 +00:00

Bunch o changes. I'm a bad person.

This commit is contained in:
SirStendec 2015-06-05 03:59:28 -04:00
parent 576c9569b2
commit 6264da62fc
25 changed files with 4610 additions and 1860 deletions

View file

@ -33,14 +33,10 @@ FFZ.prototype.update_ui_link = function(link) {
// Check for emoticons.
if ( room && room.sets.length ) {
for(var i=0; i < room.sets.length; i++) {
var set = this.emote_sets[room.sets[i]];
if ( set && set.count > 0 ) {
has_emotes = true;
break;
}
}
if ( room && room.set ) {
var set = this.emote_sets[room.set];
if ( set && set.count > 0 )
has_emotes = true;
}
link.classList.toggle('no-emotes', ! has_emotes);