diff --git a/javascript.html b/javascript.html index 81f3d1e1cf..95dcc3acce 100644 --- a/javascript.html +++ b/javascript.html @@ -843,7 +843,7 @@ $('a[data-toggle="tab"]').on('shown.bs.tab', function (e) {

Tooltips on disabled elements require wrapper elements

-

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.

+

To add a tooltip to a disabled or .disabled element, put the element inside of a <div> and apply the tooltip to that <div> instead.

Usage

@@ -1025,7 +1025,7 @@ $('#myTooltip').on('hidden.bs.tooltip', function () {

Popovers on disabled elements require wrapper elements

-

To add a popover to a disabled or .disabled element, put the element inside of a <div> or <span>, and apply the popover to that element instead.

+

To add a popover to a disabled or .disabled element, put the element inside of a <div> and apply the popover to that <div> instead.

Static popover