diff options
| author | Mark Otto <[email protected]> | 2012-05-15 09:41:06 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2012-05-15 09:41:06 -0700 |
| commit | 67f81a2ed53d5608a26eae5eb301614ad53cf3b5 (patch) | |
| tree | 56e8745149ac68c20aba306614d628c1d9378e80 /docs/components.html | |
| parent | 0679f24606dff0a3d38f88bad220d393bb363dba (diff) | |
| download | bootstrap-67f81a2ed53d5608a26eae5eb301614ad53cf3b5.tar.xz bootstrap-67f81a2ed53d5608a26eae5eb301614ad53cf3b5.zip | |
clarify button type on dismiss icons
Diffstat (limited to 'docs/components.html')
| -rw-r--r-- | docs/components.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/components.html b/docs/components.html index 1ff759f2e..523b189bb 100644 --- a/docs/components.html +++ b/docs/components.html @@ -1697,7 +1697,7 @@ <strong>Warning!</strong> Best check yo self, you're not looking too good. </div> </pre> - <p><span class="label label-info">Heads up!</span> iOS devices require an <code>href="#"</code> for the dismissal of alerts. Be sure to include it and the data attribute for anchor close icons. Alternatively, you may use a <code><button></code> element with the data attribute, which we have opted to do for our docs. When using <code><button></code>, you must include <code>type="button"</code> or risk unintentional form submissions.</p> + <p><span class="label label-info">Heads up!</span> iOS devices require an <code>href="#"</code> for the dismissal of alerts. Be sure to include it and the data attribute for anchor close icons. Alternatively, you may use a <code><button></code> element with the data attribute, which we have opted to do for our docs. When using <code><button></code>, you must include <code>type="button"</code> or your forms may not submit.</p> <p>Easily extend the standard alert message with two optional classes: <code>.alert-block</code> for more padding and text controls and <code>.alert-heading</code> for a matching heading.</p> <div class="alert alert-block"> <button type="button" class="close" data-dismiss="alert">×</button> |
