From ea437351ed115b240e9b150da7ee93582f31dd17 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sun, 25 Mar 2012 19:47:13 -0700 Subject: add heads up note for required href on alert dismiss actions --- docs/templates/pages/components.mustache | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'docs/templates') diff --git a/docs/templates/pages/components.mustache b/docs/templates/pages/components.mustache index 5226296d9..d99a1ad44 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>
-- 
cgit v1.2.3