vendor/assets/js/foundation.accordion.js.es6 in foundation-rails-6.2.1.0 vs vendor/assets/js/foundation.accordion.js.es6 in foundation-rails-6.2.3.0
- old
+ new
@@ -201,10 +201,10 @@
* Destroys an instance of an accordion.
* @fires Accordion#destroyed
* @function
*/
destroy() {
- this.$element.find('[data-tab-content]').slideUp(0).css('display', '');
+ this.$element.find('[data-tab-content]').stop(true).slideUp(0).css('display', '');
this.$element.find('a').off('.zf.accordion');
Foundation.unregisterPlugin(this);
}
}