From: Mark Otto Date: Tue, 15 May 2012 16:37:28 +0000 (-0700) Subject: example incorrect for modal dismiss button X-Git-Tag: v2.0.4~1^2~26 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0679f24606dff0a3d38f88bad220d393bb363dba;p=thirdparty%2Fbootstrap.git example incorrect for modal dismiss button --- diff --git a/docs/javascript.html b/docs/javascript.html index bceb4528c4..0208af819d 100644 --- a/docs/javascript.html +++ b/docs/javascript.html @@ -279,7 +279,7 @@
 <div class="modal" id="myModal">
   <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">
diff --git a/docs/templates/pages/javascript.mustache b/docs/templates/pages/javascript.mustache
index 7665a4cc61..f5c6ce9107 100644
--- a/docs/templates/pages/javascript.mustache
+++ b/docs/templates/pages/javascript.mustache
@@ -202,7 +202,7 @@
 
 <div class="modal" id="myModal">
   <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">