]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Be pedantically correct; refs #17809
authorChris Rebert <code@chrisrebert.com>
Thu, 8 Oct 2015 04:32:49 +0000 (21:32 -0700)
committerChris Rebert <code@chrisrebert.com>
Thu, 8 Oct 2015 04:32:57 +0000 (21:32 -0700)
[skip sauce]

docs/_includes/js/popovers.html
docs/_includes/js/tooltips.html

index b539bfe16554707703c6b1803c0192214eadc108..637158bb9c045feec537ecdf255966030e36cfbb 100644 (file)
@@ -20,7 +20,7 @@ $(function () {
   </div>
   <div class="bs-callout bs-callout-warning" id="callout-popover-groups">
     <h4>Popovers in button groups, input groups, and tables require special setting</h4>
-    <p>When using popovers on elements within a <code>.btn-group</code>, <code>.input-group</code>, or <code>&lt;table&gt;</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>
+    <p>When using popovers on elements within a <code>.btn-group</code> or an <code>.input-group</code>, or on table-related elements (<code>&lt;td&gt;</code>, <code>&lt;th&gt;</code>, <code>&lt;tr&gt;</code>, <code>&lt;thead&gt;</code>, <code>&lt;tbody&gt;</code>, <code>&lt;tfoot&gt;</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-warning" id="callout-popover-hidden">
     <h4>Don't try to show popovers on hidden elements</h4>
index fd85256b2d22596282366c2a02a882434d9f8f90..e72b86b09497dd2f612a5fdfa0d6be46e8fc4ea5 100644 (file)
@@ -98,7 +98,7 @@ $('#example').tooltip(options)
   </div>
   <div class="bs-callout bs-callout-warning" id="callout-tooltip-groups">
     <h4>Tooltips in button groups, input groups, and tables require special setting</h4>
-    <p>When using tooltips on elements within a <code>.btn-group</code>, <code>.input-group</code>, or <code>&lt;table&gt;</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 tooltip is triggered).</p>
+    <p>When using tooltips on elements within a <code>.btn-group</code> or an <code>.input-group</code>, or on table-related elements (<code>&lt;td&gt;</code>, <code>&lt;th&gt;</code>, <code>&lt;tr&gt;</code>, <code>&lt;thead&gt;</code>, <code>&lt;tbody&gt;</code>, <code>&lt;tfoot&gt;</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 tooltip is triggered).</p>
   </div>
   <div class="bs-callout bs-callout-warning" id="callout-tooltip-hidden">
     <h4>Don't try to show tooltips on hidden elements</h4>