From: Tobias Lindig Date: Thu, 19 Dec 2013 08:09:04 +0000 (+0100) Subject: typo fix: replaced 'model-open' with 'modal-open' X-Git-Tag: v3.1.0~140^2~15^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F11935%2Fhead;p=thirdparty%2Fbootstrap.git typo fix: replaced 'model-open' with 'modal-open' --- diff --git a/javascript.html b/javascript.html index b345ca14bc..061c0161d3 100644 --- a/javascript.html +++ b/javascript.html @@ -297,7 +297,7 @@ $('#myModal').on('show.bs.modal', function (e) {

Usage

-

The modal plugin toggles your hidden content on demand, via data attributes or JavaScript. It also adds .model-open to the <body> to override default scrolling behavior and generates a .modal-backdrop to provide a click area for dismissing shown modals when clicking outside the modal.

+

The modal plugin toggles your hidden content on demand, via data attributes or JavaScript. It also adds .modal-open to the <body> to override default scrolling behavior and generates a .modal-backdrop to provide a click area for dismissing shown modals when clicking outside the modal.

Via data attributes

Activate a modal without writing JavaScript. Set data-toggle="modal" on a controller element, like a button, along with a data-target="#foo" or href="#foo" to target a specific modal to toggle.