Jump to content
×
// Hide post controls if empty $(".cPost .ipsComment_controls li.ipsHide:only-child").closest('.ipsItemControls').addClass('iIC-no-buttons'); $(".cPost .ipsReact .ipsReact_blurb.ipsHide:only-child").closest('.ipsItemControls').addClass('iIC-no-react'); // Assign feature colour to icon if the transparent setting is enabled $(".ipsItemStatus_large[style]").each(function(){ var feature = $(this).attr('data-feature'); $(this).css( "color", feature ); }); }); }); // Hide post controls if empty $(".cPost .ipsComment_controls li.ipsHide:only-child").closest('.ipsItemControls').addClass('iIC-no-buttons'); $(".cPost .ipsReact .ipsReact_blurb.ipsHide:only-child").closest('.ipsItemControls').addClass('iIC-no-react'); // Assign feature colour to icon if the transparent setting is enabled $(".ipsItemStatus_large[style]").each(function(){ var feature = $(this).attr('data-feature'); $(this).css( "color", feature ); }); });