aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2012-08-21 13:00:40 -0700
committerMark Otto <[email protected]>2012-08-21 13:00:40 -0700
commit099cec1ca7470acd32afaab60f2180557ad9bdab (patch)
tree062dd3b6a07cc2d2f51c699d13d2f7015177a7b0
parent06c718b1d36f2cf518004f6074611a4ccb10dca5 (diff)
downloadbootstrap-099cec1ca7470acd32afaab60f2180557ad9bdab.tar.xz
bootstrap-099cec1ca7470acd32afaab60f2180557ad9bdab.zip
fixes #4493: typo in dimiss alerts docs
-rw-r--r--docs/components.html2
-rw-r--r--docs/templates/pages/components.mustache2
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/components.html b/docs/components.html
index 828ad7be2..c93fc2fac 100644
--- a/docs/components.html
+++ b/docs/components.html
@@ -1941,7 +1941,7 @@
<h3>Dismiss buttons</h3>
<p>Mobile Safari and Mobile Opera browsers, in addition to the <code>data-dismiss="alert"</code> attribute, require an <code>href="#"</code> for the dismissal of alerts when using an <code>&lt;a&gt;</code> tag.</p>
- <pre class="prettyprint linenums">&lt;a href="#" class="close" data-dismiss="alert"&gt;&times;&lt;/button&gt;</pre>
+ <pre class="prettyprint linenums">&lt;a href="#" class="close" data-dismiss="alert"&gt;&times;&lt;/a&gt;</pre>
<p>Alternatively, you may use a <code>&lt;button&gt;</code> element with the data attribute, which we have opted to do for our docs. When using <code>&lt;button&gt;</code>, you must include <code>type="button"</code> or your forms may not submit.</p>
<pre class="prettyprint linenums">&lt;button type="button" class="close" data-dismiss="alert"&gt;&times;&lt;/button&gt;</pre>
diff --git a/docs/templates/pages/components.mustache b/docs/templates/pages/components.mustache
index 8187ce084..596c006c6 100644
--- a/docs/templates/pages/components.mustache
+++ b/docs/templates/pages/components.mustache
@@ -1870,7 +1870,7 @@
<h3>{{_i}}Dismiss buttons{{/i}}</h3>
<p>{{_i}}Mobile Safari and Mobile Opera browsers, in addition to the <code>data-dismiss="alert"</code> attribute, require an <code>href="#"</code> for the dismissal of alerts when using an <code>&lt;a&gt;</code> tag.{{/i}}</p>
- <pre class="prettyprint linenums">&lt;a href="#" class="close" data-dismiss="alert"&gt;&times;&lt;/button&gt;</pre>
+ <pre class="prettyprint linenums">&lt;a href="#" class="close" data-dismiss="alert"&gt;&times;&lt;/a&gt;</pre>
<p>{{_i}}Alternatively, you may use a <code>&lt;button&gt;</code> element with the data attribute, which we have opted to do for our docs. When using <code>&lt;button&gt;</code>, you must include <code>type="button"</code> or your forms may not submit.{{/i}}</p>
<pre class="prettyprint linenums">&lt;button type="button" class="close" data-dismiss="alert"&gt;&times;&lt;/button&gt;</pre>