]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Fix modal documentation (#22252)
authorPatrick Hayes <pfhayes@users.noreply.github.com>
Fri, 24 Mar 2017 04:16:06 +0000 (21:16 -0700)
committerMark Otto <markd.otto@gmail.com>
Fri, 24 Mar 2017 04:16:06 +0000 (21:16 -0700)
The example code has the class `"modal fade"`, but the visible example has the class `"modal"`. `"fade"` appears to not work for modals that you do not intend to animate onto the page

docs/components/modal.md

index 96a11e1a2d9957443a311d23413ebb63e8660a4a..a4e28bcec5de0b796db55ff3bbdc844a51bac9f5 100644 (file)
@@ -63,7 +63,7 @@ Below is a _static_ modal example (meaning its `position` and `display` have bee
 </div>
 
 {% highlight html %}
-<div class="modal fade">
+<div class="modal">
   <div class="modal-dialog" role="document">
     <div class="modal-content">
       <div class="modal-header">