diff options
| author | Mark Otto <[email protected]> | 2013-12-21 11:17:29 -0800 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2013-12-21 11:17:29 -0800 |
| commit | 02c40ab9919ee87ec8f7688133cc71f64f460013 (patch) | |
| tree | 350491788234da822d8fc9dfcaf6c31b7599cdcc /javascript.html | |
| parent | 07705673b6398ae9cfe2cb59b97d61e04efeb8bf (diff) | |
| parent | 5f9695ae7cf66dd7f07a3cb3eb534e838d18c62b (diff) | |
| download | bootstrap-02c40ab9919ee87ec8f7688133cc71f64f460013.tar.xz bootstrap-02c40ab9919ee87ec8f7688133cc71f64f460013.zip | |
Merge branch 'master' into docs_derp
Conflicts:
_layouts/default.html
components.html
Diffstat (limited to 'javascript.html')
| -rw-r--r-- | javascript.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/javascript.html b/javascript.html index c330a4792..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> @@ -344,7 +344,7 @@ $('#myModal').on('show.bs.modal', function (e) { <td>remote</td> <td>path</td> <td>false</td> - <td><p>If a remote URL is provided, content will be loaded via jQuery's <code>load</code> method and injected into the root of the modal element. If you're using the data-api, you may alternatively use the <code>href</code> attribute to specify the remote source. An example of this is shown below:</p> + <td><p>If a remote URL is provided, <strong>content will be loaded one time</strong> via jQuery's <code>load</code> method and injected into the root of the modal element. If you're using the data-api, you may alternatively use the <code>href</code> attribute to specify the remote source. An example of this is shown below:</p> {% highlight html %} <a data-toggle="modal" href="remote.html" data-target="#modal">Click me</a> {% endhighlight %} |
