Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Added .hide to Modal Markup section #3510

Closed
wants to merge 1 commit into from

3 participants

@troyharvey

Copy-pasting the sample code under Markup should give you a hidden modal.

@mdo mdo referenced this pull request from a commit
@mdo mdo fix modal example per #3510 e5187e1
@mdo
Admin

Resolved manually in mustache files in 2.0.4-wip. Thanks!

@mdo mdo closed this
@khiltd

.hide is completely undefined if you only build the "Modals" portions of Bootstrap.

@gsf gsf referenced this pull request from a commit
Commit has since been removed from the repository and is no longer available.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on May 16, 2012
  1. @troyharvey
This page is out of date. Refresh to see the latest.
Showing with 2 additions and 2 deletions.
  1. +2 −2 docs/javascript.html
View
4 docs/javascript.html
@@ -301,7 +301,7 @@
</pre>
<pre class="prettyprint linenums">
-&lt;div class="modal" id="myModal"&gt;
+&lt;div class="modal hide" id="myModal"&gt;
&lt;div class="modal-header"&gt;
&lt;button class="close" data-dismiss="modal"&gt;&times;&lt;/button&gt;
&lt;h3&gt;Modal header&lt;/h3&gt;
@@ -310,7 +310,7 @@
&lt;p&gt;One fine body…&lt;/p&gt;
&lt;/div&gt;
&lt;div class="modal-footer"&gt;
- &lt;a href="#" class="btn"&gt;Close&lt;/a&gt;
+ &lt;a href="#" class="btn" data-dismiss="modal"&gt;Close&lt;/a&gt;
&lt;a href="#" class="btn btn-primary"&gt;Save changes&lt;/a&gt;
&lt;/div&gt;
&lt;/div&gt;
Something went wrong with that request. Please try again.