]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commit
Fix options name for "In-Canvas to Off-Canvas" code example 12376/head
authorAlexander Martin <alamowo@gmail.com>
Wed, 26 Jan 2022 17:43:23 +0000 (18:43 +0100)
committerGitHub <noreply@github.com>
Wed, 26 Jan 2022 17:43:23 +0000 (18:43 +0100)
commit2562755b88b10bfe225d9322497522530c390c16
treea8a7f12a7e24f30b9e5cecd8d7fce1f852480d70
parent8846fdad0289d1a0a80929c92a4245fcb781c662
Fix options name for "In-Canvas to Off-Canvas" code example

The corresponding code example said "inCanvasFor:large;", which leads to a false object property when executed.

The correct property name in foundation.offcanvas.js line ~151 is `this.options.inCanvasOn`
docs/pages/off-canvas.md