diff options
| author | Mark Otto <[email protected]> | 2013-10-14 20:21:17 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2013-10-14 20:21:17 -0700 |
| commit | 67829c65713d0be72a7a893783f6d929d45e82bb (patch) | |
| tree | 0feea222bbb9e976a1da26ac3ec0ece57c77ed3b | |
| parent | a44bd01628d66b92bee3eaef7e4b4f21b5525de6 (diff) | |
| parent | 27e2c56792bcf7df2c0cb9247d373c90cab7c198 (diff) | |
| download | bootstrap-67829c65713d0be72a7a893783f6d929d45e82bb.tar.xz bootstrap-67829c65713d0be72a7a893783f6d929d45e82bb.zip | |
Merge pull request #11094 from twbs/address-10049
Recommend only <div> (not <span>) for putting tooltips on disabled elements
| -rw-r--r-- | javascript.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/javascript.html b/javascript.html index 81f3d1e1c..95dcc3acc 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> |
