]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Updated sample markup to reflect live demo. 5051/head
authorGeoff Young <geoffreysyoung@gmail.com>
Sun, 9 Sep 2012 22:58:23 +0000 (18:58 -0400)
committerGeoff Young <geoffreysyoung@gmail.com>
Sun, 9 Sep 2012 22:58:23 +0000 (18:58 -0400)
docs/javascript.html
docs/templates/pages/javascript.mustache

index a530b21e0d9cc5d51fb964297692a37272742372..91620a5723729adf238542a3c4d9ca1e7bb7c024 100644 (file)
@@ -253,7 +253,7 @@ $('#myModal').on('show', function (e) {
 &lt;a href="#myModal" role="button" class="btn" data-toggle="modal"&gt;Launch demo modal&lt;/a&gt;
 
 &lt;-- Modal --&gt;
-&lt;div class="modal" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true"&gt;
+&lt;div id="myModal" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true"&gt;
   &lt;div class="modal-header"&gt;
     &lt;button type="button" class="close" data-dismiss="modal" aria-hidden="true"&gt;&times;&lt;/button&gt;
     &lt;h3 id="myModalLabel"&gt;Modal header&lt;/h3&gt;
index 5f8883bdf7a598a612552e4f8451fb549649df02..3c412a982ba1c6fdf2ee0ec39e3b480de5f1fab9 100644 (file)
@@ -183,7 +183,7 @@ $('#myModal').on('show', function (e) {
 &lt;a href="#myModal" role="button" class="btn" data-toggle="modal"&gt;{{_i}}Launch demo modal{{/i}}&lt;/a&gt;
 
 &lt;-- Modal --&gt;
-&lt;div class="modal" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true"&gt;
+&lt;div id="myModal" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true"&gt;
   &lt;div class="modal-header"&gt;
     &lt;button type="button" class="close" data-dismiss="modal" aria-hidden="true"&gt;&times;&lt;/button&gt;
     &lt;h3 id="myModalLabel"&gt;Modal header&lt;/h3&gt;