aboutsummaryrefslogtreecommitdiff
path: root/javascript.html
diff options
context:
space:
mode:
authorChris Rebert <[email protected]>2013-08-23 11:08:37 -0700
committerChris Rebert <[email protected]>2013-08-23 11:08:37 -0700
commit3d7294238427f23a9110f9e00aaa4f7a79222a5f (patch)
tree503c107783817521353138dbde5465009892e2a4 /javascript.html
parent34db0028757736d924eac6a1b0a25a55b3fbcfcf (diff)
downloadbootstrap-3d7294238427f23a9110f9e00aaa4f7a79222a5f.tar.xz
bootstrap-3d7294238427f23a9110f9e00aaa4f7a79222a5f.zip
tweak #10081 phrasing
Diffstat (limited to 'javascript.html')
-rw-r--r--javascript.html5
1 files changed, 2 insertions, 3 deletions
diff --git a/javascript.html b/javascript.html
index 07d528a17..0dffa5db8 100644
--- a/javascript.html
+++ b/javascript.html
@@ -804,10 +804,9 @@ $('a[data-toggle="tab"]').on('shown.bs.tab', function (e) {
<h4>Tooltips in button groups and input groups require special setting</h4>
<p>When using tooltips on elements within a <code>.btn-group</code> or an <code>.input-group</code>, you'll have to specify the option <code>container: 'body'</code> (documented below) to avoid unwanted side effects (such as the element growing wider and/or losing its rounded corners when the tooltip is triggered).</p>
</div>
-
<div class="bs-callout bs-callout-info">
- <h4>Tooltips on disabled elements require placing the tooltip on an outer element instead</h4>
- <p>If you'd like to add a tooltip to a <code>disabled</code> element, place the element inside of a <code>&lt;div&gt;</code> or <code>&lt;span&gt;</code> and apply the tooltip to that element instead.</p>
+ <h4>Tooltips on disabled elements require wrapper elements</h4>
+ <p>To add a tooltip to a <code>disabled</code> or <code>.disabled</code> element, put the element inside of a <code>&lt;div&gt;</code> or <code>&lt;span&gt;</code>, and apply the tooltip to that element instead.</p>
</div>
<h2 id="tooltips-usage">Usage</h2>