jQuery - Assigning event to multiple variables

0 votes
116 views
added Feb 10, 2020 in jQuery by lcjr First Warrant Officer (9,190 points)
var contentPara = $('body.page-content .news-article.news-details, body.node-type-tep-blogs .news-article.news-details').find('p:nth-child(3)');

if((parallaxFlg.css('display') == 'none')){ 
    contentPara.css({'margin-bottom': '0'}); 
}

 

lazacode.org - Malaysia's programming knowledge sharing platform, where everyone can share their finding as reference to others.
...