$(".eventssubtabs li").click(function(){ if($('#parent .tab-pane').css('display') == 'none') { $('.no-listing').show(); }else{ $('.no-listing').hide(); } });
$(".eventssubtabs li").click(function(){ if($('#parent .tab-pane').css('display') == 'none') { $('.no-listing').show(); }else{ $('.no-listing').hide(); } });