Skip to content

Commit

Permalink
tweak #10081 phrasing
Browse files Browse the repository at this point in the history
  • Loading branch information
cvrebert committed Aug 23, 2013
1 parent 34db002 commit 3d72942
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions javascript.html
Original file line number Diff line number Diff line change
Expand Up @@ -804,10 +804,9 @@ <h3>Four directions</h3>
<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>
Expand Down

0 comments on commit 3d72942

Please sign in to comment.