From: jk Date: Tue, 11 Apr 2017 18:53:34 +0000 (+0200) Subject: also remove the invisible class on destroy X-Git-Tag: v6.4.0-rc1~76^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F9949%2Fhead;p=thirdparty%2Ffoundation%2Ffoundation-sites.git also remove the invisible class on destroy --- diff --git a/js/foundation.drilldown.js b/js/foundation.drilldown.js index 3e5f72da4..915c756c3 100644 --- a/js/foundation.drilldown.js +++ b/js/foundation.drilldown.js @@ -410,7 +410,7 @@ class Drilldown { $(this).off('.zf.drilldown'); }); - this.$submenus.removeClass('drilldown-submenu-cover-previous'); + this.$submenus.removeClass('drilldown-submenu-cover-previous invisible'); this.$element.find('a').each(function(){ var $link = $(this);