CoreFiles by mySites.guru
accordion.min.js2 lines, 865 bytes, from wordpress-5.7.21.zip
Raw History Compare with 5.7.20
md5
0b886a300edffb50e6337f072308bcda
sha1
1efca3835bbbe044eee8b5da12cbf6e60ff81b2b
sha256
5af71fa4661dbf6da4602e5b1c44964c0987491ad65f545bc9a4f6c694565e13
/*! This file is auto-generated */
!function(s){s(document).ready(function(){s(".accordion-container").on("click keydown",".accordion-section-title",function(e){var n,o,a,i,t;"keydown"===e.type&&13!==e.which||(e.preventDefault(),n=s(this),o=n.closest(".accordion-section"),a=o.find("[aria-expanded]").first(),i=o.closest(".accordion-container"),t=i.find(".open"),e=t.find("[aria-expanded]").first(),n=o.find(".accordion-section-content"),o.hasClass("cannot-expand")||(i.addClass("opening"),o.hasClass("open")?(o.toggleClass("open"),n.toggle(!0).slideToggle(150)):(e.attr("aria-expanded","false"),t.removeClass("open"),t.find(".accordion-section-content").show().slideUp(150),n.toggle(!1).slideToggle(150),o.toggleClass("open")),setTimeout(function(){i.removeClass("opening")},150),a&&a.attr("aria-expanded",String("false"===a.attr("aria-expanded")))))})})}(jQuery);

The same content is in 100 releases, WordPress 5.4.5 to 5.7.22. See them all, or every version of this file.