diff options
| author | Tobias Lindig <[email protected]> | 2013-12-19 09:09:04 +0100 |
|---|---|---|
| committer | Tobias Lindig <[email protected]> | 2013-12-19 09:09:04 +0100 |
| commit | 50f1bc47ece352f1e647c345fd9b699707a40b98 (patch) | |
| tree | 073f63bef12b2160df2a76c82069bca9ecbc7d05 /javascript.html | |
| parent | edbd1a81e05efb78d2ecf30b4f24263fc25c8620 (diff) | |
| download | bootstrap-50f1bc47ece352f1e647c345fd9b699707a40b98.tar.xz bootstrap-50f1bc47ece352f1e647c345fd9b699707a40b98.zip | |
typo fix: replaced 'model-open' with 'modal-open'
Diffstat (limited to 'javascript.html')
| -rw-r--r-- | javascript.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/javascript.html b/javascript.html index b345ca14b..061c0161d 100644 --- a/javascript.html +++ b/javascript.html @@ -297,7 +297,7 @@ $('#myModal').on('show.bs.modal', function (e) { <h2 id="modals-usage">Usage</h2> - <p>The modal plugin toggles your hidden content on demand, via data attributes or JavaScript. It also adds <code>.model-open</code> to the <code><body></code> to override default scrolling behavior and generates a <code>.modal-backdrop</code> to provide a click area for dismissing shown modals when clicking outside the modal.</p> + <p>The modal plugin toggles your hidden content on demand, via data attributes or JavaScript. It also adds <code>.modal-open</code> to the <code><body></code> to override default scrolling behavior and generates a <code>.modal-backdrop</code> to provide a click area for dismissing shown modals when clicking outside the modal.</p> <h3>Via data attributes</h3> <p>Activate a modal without writing JavaScript. Set <code>data-toggle="modal"</code> on a controller element, like a button, along with a <code>data-target="#foo"</code> or <code>href="#foo"</code> to target a specific modal to toggle.</p> |
