0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-01-28 20:52:21 +01:00

[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
This commit is contained in:
Kevin Kirsche 2015-02-03 14:38:02 -05:00 committed by Kevin Kirsche
parent 012af29efc
commit be2206edfc
2 changed files with 2 additions and 2 deletions

View File

@ -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>

View File

@ -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>