From 099cec1ca7470acd32afaab60f2180557ad9bdab Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Tue, 21 Aug 2012 13:00:40 -0700 Subject: [PATCH] fixes #4493: typo in dimiss alerts docs --- docs/components.html | 2 +- docs/templates/pages/components.mustache | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/components.html b/docs/components.html index 828ad7be2e..c93fc2fac9 100644 --- a/docs/components.html +++ b/docs/components.html @@ -1941,7 +1941,7 @@

Dismiss buttons

Mobile Safari and Mobile Opera browsers, in addition to the data-dismiss="alert" attribute, require an href="#" for the dismissal of alerts when using an <a> tag.

-
<a href="#" class="close" data-dismiss="alert">×</button>
+
<a href="#" class="close" data-dismiss="alert">×</a>

Alternatively, you may use a <button> element with the data attribute, which we have opted to do for our docs. When using <button>, you must include type="button" or your forms may not submit.

<button type="button" class="close" data-dismiss="alert">×</button>
diff --git a/docs/templates/pages/components.mustache b/docs/templates/pages/components.mustache index 8187ce084a..596c006c6e 100644 --- a/docs/templates/pages/components.mustache +++ b/docs/templates/pages/components.mustache @@ -1870,7 +1870,7 @@

{{_i}}Dismiss buttons{{/i}}

{{_i}}Mobile Safari and Mobile Opera browsers, in addition to the data-dismiss="alert" attribute, require an href="#" for the dismissal of alerts when using an <a> tag.{{/i}}

-
<a href="#" class="close" data-dismiss="alert">×</button>
+
<a href="#" class="close" data-dismiss="alert">×</a>

{{_i}}Alternatively, you may use a <button> element with the data attribute, which we have opted to do for our docs. When using <button>, you must include type="button" or your forms may not submit.{{/i}}

<button type="button" class="close" data-dismiss="alert">×</button>