diff --git a/javascript.html b/javascript.html index 07d528a170..0dffa5db8d 100644 --- a/javascript.html +++ b/javascript.html @@ -804,10 +804,9 @@ $('a[data-toggle="tab"]').on('shown.bs.tab', function (e) {
When using tooltips on elements within a .btn-group
or an .input-group
, you'll have to specify the option container: 'body'
(documented below) to avoid unwanted side effects (such as the element growing wider and/or losing its rounded corners when the tooltip is triggered).
If you'd like to add a tooltip to a disabled
element, place the element inside of a <div>
or <span>
and apply the tooltip to that element instead.
To add a tooltip to a disabled
or .disabled
element, put the element inside of a <div>
or <span>
, and apply the tooltip to that element instead.