@@ -303,7 +303,7 @@
<div class="modal" id="myModal">
<div class="modal-header">
- <a class="close" data-dismiss="modal">×</a>
+ <button class="close" data-dismiss="modal">×</button>
<h3>Modal header</h3>
</div>
<div class="modal-body">
@@ -964,11 +964,11 @@ $('a[data-toggle="tab"]').on('shown', function (e) {
Example alerts
The alerts plugin works on regular alert messages, and block messages.
-
×
+
×
Holy guacamole! Best check yo self, you're not looking too good.
-
×
+
×
Oh snap! You got an error!
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.
diff --git a/docs/templates/pages/components.mustache b/docs/templates/pages/components.mustache
index ac06367ce..b0d88dd14 100644
--- a/docs/templates/pages/components.mustache
+++ b/docs/templates/pages/components.mustache
@@ -1802,8 +1802,10 @@
{{_i}}Close icon{{/i}}
{{_i}}Use the generic close icon for dismissing content like modals and alerts.{{/i}}
-
×
-
<a class="close">×</a>
+
×
+
<button class="close">×</button>
+
{{_i}}iOS devices require an href="#" for click events if you rather use an anchor.{{/i}}
+
<a class="close" href="#">×</a>
diff --git a/docs/templates/pages/javascript.mustache b/docs/templates/pages/javascript.mustache
index a5010f226..d61a364f0 100644
--- a/docs/templates/pages/javascript.mustache
+++ b/docs/templates/pages/javascript.mustache
@@ -131,7 +131,7 @@
@@ -149,7 +149,7 @@
@@ -226,7 +226,7 @@
<div class="modal" id="myModal">
<div class="modal-header">
- <a class="close" data-dismiss="modal">×</a>
+ <button class="close" data-dismiss="modal">×</button>
<h3>Modal header</h3>
</div>
<div class="modal-body">
@@ -887,11 +887,11 @@ $('a[data-toggle="tab"]').on('shown', function (e) {
{{_i}}Example alerts{{/i}}
{{_i}}The alerts plugin works on regular alert messages, and block messages.{{/i}}
-
×
+
×
{{_i}}Holy guacamole!{{/i}} {{_i}}Best check yo self, you're not looking too good.{{/i}}
-
×
+
×
{{_i}}Oh snap! You got an error!{{/i}}
{{_i}}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.{{/i}}