SyntaxFix
Write A Post
Hire A Developer
Questions
Use this condition:
if (jQuery(".profile-page-cont").css('display') == 'block'){ // Condition }