diff options
| author | Mark Otto <[email protected]> | 2012-05-13 14:01:57 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2012-05-13 14:01:57 -0700 |
| commit | d09db29039ba498c8d3255cadafb2c5c88ff1a2f (patch) | |
| tree | e256967b6026a14aa3d88426aa8efbcbeea7fded /docs/javascript.html | |
| parent | 6f61c96f02d82f8e908759f2d293b249e81665a0 (diff) | |
| download | bootstrap-d09db29039ba498c8d3255cadafb2c5c88ff1a2f.tar.xz bootstrap-d09db29039ba498c8d3255cadafb2c5c88ff1a2f.zip | |
#3465 part 1: add type="button" to all dismiss buttons in docs
Diffstat (limited to 'docs/javascript.html')
| -rw-r--r-- | docs/javascript.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/javascript.html b/docs/javascript.html index 1b659c6bf..bceb4528c 100644 --- a/docs/javascript.html +++ b/docs/javascript.html @@ -184,7 +184,7 @@ <div class="well modal-example" style="background-color: #888; border: none;"> <div class="modal" style="position: relative; top: auto; left: auto; margin: 0 auto; z-index: 1; max-width: 100%;"> <div class="modal-header"> - <button class="close" data-dismiss="modal">×</button> + <button type="button" class="close" data-dismiss="modal">×</button> <h3>Modal header</h3> </div> <div class="modal-body"> @@ -202,7 +202,7 @@ <!-- sample modal content --> <div id="myModal" class="modal hide fade"> <div class="modal-header"> - <button class="close" data-dismiss="modal">×</button> + <button type="button" class="close" data-dismiss="modal">×</button> <h3>Modal Heading</h3> </div> <div class="modal-body"> @@ -954,11 +954,11 @@ $('a[data-toggle="tab"]').on('shown', function (e) { <h2>Example alerts</h2> <p>The alerts plugin works on regular alert messages, and block messages.</p> <div class="alert fade in"> - <button class="close" data-dismiss="alert">×</button> + <button type="button" class="close" data-dismiss="alert">×</button> <strong>Holy guacamole!</strong> Best check yo self, you're not looking too good. </div> <div class="alert alert-block alert-error fade in"> - <button class="close" data-dismiss="alert">×</button> + <button type="button" class="close" data-dismiss="alert">×</button> <h4 class="alert-heading">Oh snap! You got an error!</h4> <p>Change this and that and try again. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Cras mattis consectetur purus sit amet fermentum.</p> <p> |
