]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commit
fix: set the Drilldown height for on the currently opened (sub)menu #11416
authorNicolas Coden <nicolas@ncoden.fr>
Mon, 30 Jul 2018 22:13:00 +0000 (00:13 +0200)
committerNicolas Coden <nicolas@ncoden.fr>
Mon, 30 Jul 2018 22:16:46 +0000 (00:16 +0200)
commitc7ce8d5b951c05c64f3670770b25c75ea5b841ab
treee520f1959ac8d25aa0916599e5dadee42d4c961d
parent281681a305931a350d59a8476f538416bddf9788
fix: set the Drilldown height for on the currently opened (sub)menu #11416

Changes:
- Save the currently opened sub-menu as `$currentMenu`
- When calculating the Drilldown wrapper height, use the currently opened menu height instead of the primary menu.

Closes https://github.com/zurb/foundation-sites/issues/11416
js/foundation.drilldown.js