2013-03-29 11:58:36 +01:00
|
|
|
jQuery(document).ready(function(a){a(".accordion-container").on("click keydown",".accordion-section-title",function(c){if(c.type==="keydown"&&13!==c.which){return}c.preventDefault();var b=a(this).closest(".accordion-section");if(b.hasClass("cannot-expand")){return}b.siblings(".open").removeClass("open");b.toggleClass("open")})});
|