From: Harrison Heck Date: Mon, 20 Jan 2014 13:58:05 +0000 (-0500) Subject: Fixes #4186 which was caused by commit da1a87af6d068b956b84353a9ee410fef89a9b1f.... X-Git-Tag: v5.2.0~84^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F4191%2Fhead;p=thirdparty%2Ffoundation%2Ffoundation-sites.git Fixes #4186 which was caused by commit da1a87af6d068b956b84353a9ee410fef89a9b1f. The issue is that I had it closing the dropdowns on click, which toggle() wasn't expecting. --- diff --git a/js/foundation/foundation.dropdown.js b/js/foundation/foundation.dropdown.js index 51f6b689a..20abc60fd 100644 --- a/js/foundation/foundation.dropdown.js +++ b/js/foundation/foundation.dropdown.js @@ -28,8 +28,6 @@ var settings = $(this).data('dropdown-init') || self.settings; e.preventDefault(); - self.closeall.call(self); - if (!settings.is_hover || Modernizr.touch) self.toggle($(this)); }) .on('mouseenter.fndtn.dropdown', '[data-dropdown], [data-dropdown-content]', function (e) {