]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commit
[Drilldown] Add an 'else' clause to not let the $wrapper property undefined
authorMarc Langevin <marc.langevin@gmail.com>
Mon, 19 Dec 2016 14:31:29 +0000 (15:31 +0100)
committerGitHub <noreply@github.com>
Mon, 19 Dec 2016 14:31:29 +0000 (15:31 +0100)
commitb877202780371e0293b56605d700cad778999c0e
tree24820160cd7c9d53eaebcfc4ae167be797b9981a
parent5573453df250bdf0ce1dec239675cc0375e3e152
[Drilldown] Add an 'else' clause to not let the $wrapper property undefined

If the parent of the drilldown menu already has the 'is-drilldown' css class, the $wrapper property used everywhere in the plugin stays undefined. Fixes that issue.
js/foundation.drilldown.js