From: zurbchris Date: Mon, 23 Nov 2015 23:31:46 +0000 (-0800) Subject: fixes #7157 will merge with next patch, thanks! X-Git-Tag: v6.0.4~20 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1f736304c7d4236e7a5aff4a6f2d683ed9ff03c8;p=thirdparty%2Ffoundation%2Ffoundation-sites.git fixes #7157 will merge with next patch, thanks! --- diff --git a/js/foundation.accordionMenu.js b/js/foundation.accordionMenu.js index 300518de5..81e279bc1 100644 --- a/js/foundation.accordionMenu.js +++ b/js/foundation.accordionMenu.js @@ -201,9 +201,9 @@ */ AccordionMenu.prototype.down = function($target) { var _this = this; - console.log($target); + if(!this.options.multiOpen){ - this.up(this.$element.find('.is-active').not($target.parentsUntil(this.$element))); + this.up(this.$element.find('.is-active').not($target.parentsUntil(this.$element).add($target))); } $target.addClass('is-active').attr({'aria-hidden': false})