2013-07-10 18:58:55 +02:00
|
|
|
jQuery(document).ready(function(a){a(".accordion-container").on("click keydown",".accordion-section-title",function(d){if(d.type==="keydown"&&13!==d.which){return}d.preventDefault();var c=a(this).closest(".accordion-section"),f=c.siblings(".open"),b=c.find(".accordion-section-content");if(c.hasClass("cannot-expand")){return}f.removeClass("open");f.find(".accordion-section-content").show().slideUp(150);b.toggle(c.hasClass("open")).slideToggle(150);c.toggleClass("open")})});
|