]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commit
Work over _addContentClasses() and _removeContentClasses() so classes get toggled... 10422/head
authorSassNinja <kai.falkowski@gmail.com>
Mon, 17 Jul 2017 20:42:46 +0000 (22:42 +0200)
committerSassNinja <kai.falkowski@gmail.com>
Mon, 17 Jul 2017 20:42:46 +0000 (22:42 +0200)
commit113d901ac78152fb32d4dcab07df9421028635bc
tree0d3325779f43e7db0589437622e38513d2593457
parent448e87b6f48ec618d4a3c00c3c86bbe641601a69
Work over _addContentClasses() and _removeContentClasses() so classes get toggled correctly when using reveal feature

Since several revealed off-canvas elements may share the same content container, each element doesn't toggle all has-reveal-x classes anymore but only its own.
There's now a condition to limit the toggle of has-transition-x & has-position-x classes to cases where no reveal is included.
js/foundation.offcanvas.js