]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
update docs about destination of remote modal content; fixes #12494
authorChris Rebert <code@rebertia.com>
Mon, 3 Feb 2014 06:11:18 +0000 (22:11 -0800)
committerChris Rebert <code@rebertia.com>
Mon, 3 Feb 2014 06:11:55 +0000 (22:11 -0800)
javascript.html

index b0e1287ba338315696fbefce46caae2c654c6151..b63ffa975b5d97b2799d42dee372668a17309893 100644 (file)
@@ -342,7 +342,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, <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>
+         <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 <code>.modal-content</code> div. 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 %}