jonnykates
3/8/2018 - 9:52 AM

Close sibling FAQs

$(".faqListingPage .post .accordianHeader").on("click", function() {
  var otherFAQs = $(this).parent().siblings();
  var otherFAQsContent = otherFAQs.children('.contentBlockWrapper');
  otherFAQs.removeClass('accordianOpen');
  otherFAQsContent.addClass('hidden');
});