CoreFiles by mySites.guru
accordion.min.js1 lines, 819 bytes, from wordpress-3.8.39.zip
Raw History Compare with 3.8.38
md5
62128388923c0984dc9116447cd32f03
sha1
7c929e6ec427df029e593c3fba2706f1cebc0483
sha256
9dbe3828f7180035d9348a640a38c8f2d9968b0a4fdd61e8a76bd3b1a87e686e
!function(t){t(document).ready(function(){t(".accordion-container").on("click keydown",".accordion-section-title",function(o){var n,e;"keydown"===o.type&&13!==o.which||(o.preventDefault(),n=t(this),e=n.closest(".accordion-section"),o=e.closest(".accordion-container").find(".open"),n=e.find(i),e.hasClass("cannot-expand")||(e.hasClass("open")?(e.toggleClass("open"),n.toggle(!0).slideToggle(150)):(o.removeClass("open"),o.find(i).show().slideUp(150),n.toggle(!1).slideToggle(150),e.toggleClass("open")),s()))}),t(".hide-postbox-tog").click(function(){s()})});var o=t(".accordion-container li.accordion-section"),i=t(".accordion-section-content");function s(){o.removeClass("top bottom"),o.filter(":visible").first().addClass("top"),o.filter(":visible").last().addClass("bottom").find(i).addClass("bottom")}s()}(jQuery);

The same content is in 18 releases, WordPress 3.7.36 to 3.9.40. See them all, or every version of this file.