]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
fixes #4451 manually: add .fade to modal example in both mustache and html
authorMark Otto <markotto@twitter.com>
Sun, 19 Aug 2012 18:53:55 +0000 (11:53 -0700)
committerMark Otto <markotto@twitter.com>
Sun, 19 Aug 2012 18:53:55 +0000 (11:53 -0700)
docs/javascript.html
docs/templates/pages/javascript.mustache

index bc5d606cd40141dfb735f48d077d9c5a9a15b45e..79de4f6a550cc59b8954b635e6d5f34b2020549a 100644 (file)
@@ -214,7 +214,7 @@ $('#myModal').on('show', function (e) {
           <h3>Live demo</h3>
           <p>Toggle a modal via JavaScript by clicking the button below. It will slide down and fade in from the top of the page.</p>
           <!-- sample modal content -->
-          <div id="myModal" class="modal hide" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
+          <div id="myModal" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
             <div class="modal-header">
               <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
               <h3 id="myModalLabel">Modal Heading</h3>
index b62bbfc3cb83ff565412b994b88e88f9874f700a..450f98ba475e3ec2fc76554982a08e4411e2eef0 100644 (file)
@@ -144,7 +144,7 @@ $('#myModal').on('show', function (e) {
           <h3>{{_i}}Live demo{{/i}}</h3>
           <p>{{_i}}Toggle a modal via JavaScript by clicking the button below. It will slide down and fade in from the top of the page.{{/i}}</p>
           <!-- sample modal content -->
-          <div id="myModal" class="modal hide" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
+          <div id="myModal" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
             <div class="modal-header">
               <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
               <h3 id="myModalLabel">{{_i}}Modal Heading{{/i}}</h3>