From 171c4b7fc4b5f9641d8ac2ed2e51d08cff2cd8f0 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Wed, 18 Dec 2013 16:56:41 -0800 Subject: fixes #11447: add docs warning about loading once for remote modal option --- javascript.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'javascript.html') diff --git a/javascript.html b/javascript.html index c330a4792..b345ca14b 100644 --- a/javascript.html +++ b/javascript.html @@ -344,7 +344,7 @@ $('#myModal').on('show.bs.modal', function (e) { remote path false -

If a remote URL is provided, content will be loaded via jQuery's load method and injected into the root of the modal element. If you're using the data-api, you may alternatively use the href attribute to specify the remote source. An example of this is shown below:

+

If a remote URL is provided, content will be loaded one time via jQuery's load method and injected into the root of the modal element. If you're using the data-api, you may alternatively use the href attribute to specify the remote source. An example of this is shown below:

{% highlight html %} Click me {% endhighlight %} -- cgit v1.2.3 From 50f1bc47ece352f1e647c345fd9b699707a40b98 Mon Sep 17 00:00:00 2001 From: Tobias Lindig Date: Thu, 19 Dec 2013 09:09:04 +0100 Subject: typo fix: replaced 'model-open' with 'modal-open' --- javascript.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'javascript.html') 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) {

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.

-- cgit v1.2.3