CoreFiles by mySites.guru
accordion.min.js1 lines, 837 bytes, from wordpress-4.4.21.zip
Raw History Compare with 4.4.20
md5
e97f90fda0240174382921696f5a7ebe
sha1
a719ae6c9f91068cc657d0c1170b31445a8f639c
sha256
012e665a11d11f1ef24019de9bc7f2f1043d1c02a119c23e5eba973bfda17f7f
!function(a){function b(a){var b=a.closest(".accordion-section"),c=b.find("[aria-expanded]").first(),d=b.closest(".accordion-container"),e=d.find(".open"),f=e.find("[aria-expanded]").first(),g=b.find(".accordion-section-content");b.hasClass("cannot-expand")||(d.addClass("opening"),b.hasClass("open")?(b.toggleClass("open"),g.toggle(!0).slideToggle(150)):(f.attr("aria-expanded","false"),e.removeClass("open"),e.find(".accordion-section-content").show().slideUp(150),g.toggle(!1).slideToggle(150),b.toggleClass("open")),setTimeout(function(){d.removeClass("opening")},150),c&&c.attr("aria-expanded",String("false"===c.attr("aria-expanded"))))}a(document).ready(function(){a(".accordion-container").on("click keydown",".accordion-section-title",function(c){("keydown"!==c.type||13===c.which)&&(c.preventDefault(),b(a(this)))})})}(jQuery);

The same content is in 92 releases, WordPress 4.3-RC1 to 4.5.23. See them all, or every version of this file.