aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Rebert <[email protected]>2013-12-19 00:30:04 -0800
committerChris Rebert <[email protected]>2013-12-19 00:30:04 -0800
commit85ba12932fc73218a21dade36af9221ec54b0fdf (patch)
treef2c84cae4db7339e63b5c58bfab0b7f84cd141bb
parent091146ee73a4226e49dcbcc9ec11dd094a112c2f (diff)
parent50f1bc47ece352f1e647c345fd9b699707a40b98 (diff)
downloadbootstrap-85ba12932fc73218a21dade36af9221ec54b0fdf.tar.xz
bootstrap-85ba12932fc73218a21dade36af9221ec54b0fdf.zip
Merge pull request #11935 from tlindig/tl_fix_typo_modal-open
Docu: typo fix: replaced 'model-open' with 'modal-open'
-rw-r--r--javascript.html2
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>&lt;body&gt;</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>&lt;body&gt;</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>