diff options
| author | Chris Rebert <[email protected]> | 2013-08-23 11:09:01 -0700 |
|---|---|---|
| committer | Chris Rebert <[email protected]> | 2013-08-23 11:09:01 -0700 |
| commit | 0f669b6dcb5c47063c43cd6defcf9697874a0fab (patch) | |
| tree | 1f97f7ddd419a9f3153a816756f9d0a2de2eef4b /javascript.html | |
| parent | 3d7294238427f23a9110f9e00aaa4f7a79222a5f (diff) | |
| download | bootstrap-0f669b6dcb5c47063c43cd6defcf9697874a0fab.tar.xz bootstrap-0f669b6dcb5c47063c43cd6defcf9697874a0fab.zip | |
repeat #10081 caveat for popovers too
Diffstat (limited to 'javascript.html')
| -rw-r--r-- | javascript.html | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/javascript.html b/javascript.html index 0dffa5db8..40ea1a924 100644 --- a/javascript.html +++ b/javascript.html @@ -970,6 +970,10 @@ $('#myTooltip').on('hidden.bs.tooltip', function () { <h4>Popovers in button groups and input groups require special setting</h4> <p>When using popovers on elements within a <code>.btn-group</code> or an <code>.input-group</code>, you'll have to specify the option <code>container: 'body'</code> (documented below) to avoid unwanted side effects (such as the element growing wider and/or losing its rounded corners when the popover is triggered).</p> </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> + </div> <h3>Static popover</h3> <p>Four options are available: top, right, bottom, and left aligned.</p> |
