From 27e2c56792bcf7df2c0cb9247d373c90cab7c198 Mon Sep 17 00:00:00 2001 From: Chris Rebert Date: Mon, 14 Oct 2013 20:10:35 -0700 Subject: [PATCH] In docs, recommend only
(not ) for putting tooltips on disabled elements Per issue comments, `display: inline` elements like don't work for this. Resolves #10049 --- javascript.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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

-- 2.47.2