From: jk Date: Wed, 20 Apr 2016 19:27:36 +0000 (+0200) Subject: fixes #8624 call stop on destroy X-Git-Tag: v6.2.2-rc1~43^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=17c07b68610bf48c5e82c5aef5d6ec33238ba31f;p=thirdparty%2Ffoundation%2Ffoundation-sites.git fixes #8624 call stop on destroy --- diff --git a/js/foundation.accordion.js b/js/foundation.accordion.js index 4d2396fcb..c45172a1d 100644 --- a/js/foundation.accordion.js +++ b/js/foundation.accordion.js @@ -203,7 +203,7 @@ class Accordion { * @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);