]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
typo fix: replaced 'model-open' with 'modal-open' 11935/head
authorTobias Lindig <tl@cm4all.com>
Thu, 19 Dec 2013 08:09:04 +0000 (09:09 +0100)
committerTobias Lindig <tl@cm4all.com>
Thu, 19 Dec 2013 08:09:04 +0000 (09:09 +0100)
javascript.html

index b345ca14bc8b055f654d25635f512c78f30e05be..061c0161d3a3ca2486b43be104de8bbf6dc7b4d3 100644 (file)
@@ -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>