Commit be2206ed authored by Kevin Kirsche's avatar Kevin Kirsche Committed by Kevin Kirsche
Browse files

[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
parent 012af29e
5 merge requests!28721Hot test,!16605Test pull please ignore,!22103test,!25326Adjust examples,!15742[Fix Issue #15701] [Docs] Tooltip/popover destroy docs and delegation
Showing with 2 additions and 2 deletions
+2 -2
......@@ -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>
......
......@@ -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>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment