From ea437351ed115b240e9b150da7ee93582f31dd17 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sun, 25 Mar 2012 19:47:13 -0700 Subject: [PATCH] add heads up note for required href on alert dismiss actions --- docs/assets/bootstrap.zip | Bin 56863 -> 56863 bytes docs/components.html | 5 +++-- docs/templates/pages/components.mustache | 5 +++-- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/docs/assets/bootstrap.zip b/docs/assets/bootstrap.zip index 85a7bf8a43e8838b840d9e03ba8d47405b0ec7cd..e083fe618748b95d0fb535cf509032ab21849564 100644 GIT binary patch delta 464 zcmbQghk5=UW}X0VW)?065STl6B99`Q){T6Bog0%k-WKM9Ni3KvxN!S^;Zjktld3dg-r*|ag&)A7(iXT z*=|$brclZwqt5B-|!U3{YhghD%KB<6r`c z&9DWF2_M*a`vNCWVDefnN2ti=FI=u1Os*3qTMHY3O%yt?xmcLr9Hgqn%M7dvD0IL} z*BGd3Vt~wK?mA8+t3fsZb(_~Y!*n;)RSJNFe)rkJgzWmO1waPwp0C0tg66o%ObZO4 zF5YahphF3y?$99y|&V2+$m^+YS(O;JUJJyFk>)g6z3)+Zb6MD57#F5KUy-9d9JJFx@p`0!IVf X#L&BT$hHDqw&ku9M2+xd?t3Bty2rPg diff --git a/docs/components.html b/docs/components.html index a78dabebaa..d5a3e2a99d 100644 --- a/docs/components.html +++ b/docs/components.html @@ -1689,10 +1689,11 @@
 <div class="alert">
-  <a class="close" data-dismiss="alert">×</a>
+  <a class="close" data-dismiss="alert" href="#">×</a>
   <strong>Warning!</strong> Best check yo self, you're not looking too good.
 </div>
 
+

Heads up! iOS devices require an href="#" for the dismissal of alerts. Be sure to include it and the data attribute for fully responsive and dismissable alerts.

Easily extend the standard alert message with two optional classes: .alert-block for more padding and text controls and .alert-heading for a matching heading.

× @@ -1701,7 +1702,7 @@
 <div class="alert alert-block">
-  <a class="close" data-dismiss="alert">×</a>
+  <a class="close" data-dismiss="alert" href="#">×</a>
   <h4 class="alert-heading">Warning!</h4>
   Best check yo self, you're not...
 </div>
diff --git a/docs/templates/pages/components.mustache b/docs/templates/pages/components.mustache
index 5226296d9a..d99a1ad441 100644
--- a/docs/templates/pages/components.mustache
+++ b/docs/templates/pages/components.mustache
@@ -1612,10 +1612,11 @@
       
 
 <div class="alert">
-  <a class="close" data-dismiss="alert">×</a>
+  <a class="close" data-dismiss="alert" href="#">×</a>
   <strong>{{_i}}Warning!{{/i}}</strong> {{_i}}Best check yo self, you're not looking too good.{{/i}}
 </div>
 
+

{{_i}}Heads up!{{/i}} {{_i}}iOS devices require an href="#" for the dismissal of alerts. Be sure to include it and the data attribute for fully responsive and dismissable alerts.{{/i}}

{{_i}}Easily extend the standard alert message with two optional classes: .alert-block for more padding and text controls and .alert-heading for a matching heading.{{/i}}

× @@ -1624,7 +1625,7 @@
 <div class="alert alert-block">
-  <a class="close" data-dismiss="alert">×</a>
+  <a class="close" data-dismiss="alert" href="#">×</a>
   <h4 class="alert-heading">{{_i}}Warning!{{/i}}</h4>
   {{_i}}Best check yo self, you're not...{{/i}}
 </div>