Merge pull request #15742 from kkirsche/patch-13

[Fix Issue #15701] [Docs] Tooltip/popover destroy docs and delegation
This commit is contained in:
Chris Rebert 2015-02-03 13:12:24 -08:00
commit 0e40c818d9
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>