]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commit
Fix a bug in tab changing
authorCyrille Chopelet <cyChop@users.noreply.github.com>
Sat, 1 Sep 2018 13:04:16 +0000 (15:04 +0200)
committerGitHub <noreply@github.com>
Sat, 1 Sep 2018 13:04:16 +0000 (15:04 +0200)
commitda0bfda6d41f3a864c5a4475066f1935f9075ebe
tree3ba966d0879243e7b6c4bc3dad752ede59352dda
parentbcd208dc447cfb0a62a18501805ce4d20be4307d
Fix a bug in tab changing

When using deepLink options, the handleTabChange will fail if using a non-standard markup (if there are DOM levels between the `.tabs-title` and the `a`).

This commit fixes precisely that.
js/foundation.tabs.js