diff options
| author | Kevin Kirsche <[email protected]> | 2015-02-03 14:38:02 -0500 |
|---|---|---|
| committer | Kevin Kirsche <[email protected]> | 2015-02-03 15:49:03 -0500 |
| commit | be2206edfc7b7ca47aff0a6b772f87c5ee6f6f51 (patch) | |
| tree | 132c35da9113964380816f9e385db80ec564c5fa /docs | |
| parent | 012af29efc30cce902318187d367fdc1e007cf9e (diff) | |
| download | bootstrap-be2206edfc7b7ca47aff0a6b772f87c5ee6f6f51.tar.xz bootstrap-be2206edfc7b7ca47aff0a6b772f87c5ee6f6f51.zip | |
[Fix Issue #15701] Tooltip/popover destroy docs don't explain the delegation case
[Fix Issue #15701] Tooltip/popover destroy docs don't explain the delegation case.
Add to popovers
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/_includes/js/popovers.html | 2 | ||||
| -rw-r--r-- | docs/_includes/js/tooltips.html | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/_includes/js/popovers.html b/docs/_includes/js/popovers.html index 21a2efc1d..c827a7ff6 100644 --- a/docs/_includes/js/popovers.html +++ b/docs/_includes/js/popovers.html @@ -264,7 +264,7 @@ sagittis lacus vel augue laoreet rutrum faucibus."> {% highlight js %}$('#element').popover('toggle'){% endhighlight %} <h4>.popover('destroy')</h4> - <p>Hides and destroys an element's popover.</p> + <p>Popovers that use delegation (which are created using <a href="#popovers-options">the <code>selector</code> option</a>) cannot be individually destroyed on descendant trigger elements.</p> {% highlight js %}$('#element').popover('destroy'){% endhighlight %} <h3 id="popovers-events">Events</h3> diff --git a/docs/_includes/js/tooltips.html b/docs/_includes/js/tooltips.html index c4db01978..48534ed3e 100644 --- a/docs/_includes/js/tooltips.html +++ b/docs/_includes/js/tooltips.html @@ -225,7 +225,7 @@ $('#example').tooltip(options) {% highlight js %}$('#element').tooltip('toggle'){% endhighlight %} <h4>.tooltip('destroy')</h4> - <p>Hides and destroys an element's tooltip.</p> + <p>Tooltips that use delegation (which are created using <a href="#tooltips-options">the <code>selector</code> option</a>) cannot be individually destroyed on descendant trigger elements.</p> {% highlight js %}$('#element').tooltip('destroy'){% endhighlight %} <h3 id="tooltips-events">Events</h3> |
