]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commit
Changes to better dovetail with current Foundation design patterns. 9812/head
authorJ. Eric Ellis <jellisii@gmail.com>
Thu, 6 Apr 2017 14:21:59 +0000 (10:21 -0400)
committerJ. Eric Ellis <jellisii@gmail.com>
Thu, 6 Apr 2017 14:21:59 +0000 (10:21 -0400)
commit69b997c547ff2f693ae572105550aed4ffb5d9b6
tree66d6779729e6d765645446c2b4d5d1f0fb2e1ef2
parent6ccc417609c5febd72fd3293cb5950d994a40eb8
Changes to better dovetail with current Foundation design patterns.

Changed method of detecting disabled per
https://github.com/zurb/foundation-sites/pull/9812#discussion_r109806300

Altered docs to reflect current functionality of disable accordions,
documented below.

If an accordion is disabled, all motion methods (`up`, `down`, `toggle`)
get eaten, with the exception of `down` when combined with `firstTime`.
Added a `console.info()` message to indicate when these methods are
attempted on a disabled accordion.
docs/pages/accordion.md
js/foundation.accordion.js