diff --git a/javascript.html b/javascript.html index 81f3d1e1cf4257ef99ffa261c8f94e14ef248d8f..95dcc3acce7cf2ccd83b7c9377e5357715c1530a 100644 --- a/javascript.html +++ b/javascript.html @@ -843,7 +843,7 @@ $('a[data-toggle="tab"]').on('shown.bs.tab', function (e) { </div> <div class="bs-callout bs-callout-info"> <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><div></code> or <code><span></code>, and apply the tooltip to that element instead.</p> + <p>To add a tooltip to a <code>disabled</code> or <code>.disabled</code> element, put the element inside of a <code><div></code> and apply the tooltip to that <code><div></code> instead.</p> </div> <h2 id="tooltips-usage">Usage</h2> @@ -1025,7 +1025,7 @@ $('#myTooltip').on('hidden.bs.tooltip', function () { </div> <div class="bs-callout bs-callout-info"> <h4>Popovers on disabled elements require wrapper elements</h4> - <p>To add a popover to a <code>disabled</code> or <code>.disabled</code> element, put the element inside of a <code><div></code> or <code><span></code>, and apply the popover to that element instead.</p> + <p>To add a popover to a <code>disabled</code> or <code>.disabled</code> element, put the element inside of a <code><div></code> and apply the popover to that <code><div></code> instead.</p> </div> <h3>Static popover</h3>