]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
repeat #10081 caveat for popovers too
authorChris Rebert <code@rebertia.com>
Fri, 23 Aug 2013 18:09:01 +0000 (11:09 -0700)
committerChris Rebert <code@rebertia.com>
Fri, 23 Aug 2013 18:09:01 +0000 (11:09 -0700)
javascript.html

index 0dffa5db8d5cb9494a85c7505c457a2af884d46a..40ea1a924004ae217de7c300e64d4b5ce6c25274 100644 (file)
@@ -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>&lt;div&gt;</code> or <code>&lt;span&gt;</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>