diff --git a/docs/_includes/js/popovers.html b/docs/_includes/js/popovers.html index c827a7ff69..3616c15216 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 %}

.popover('destroy')

-

Popovers that use delegation (which are created using the selector option) cannot be individually destroyed on descendant trigger elements.

+

Hides and destroys an element's popover. Popovers that use delegation (which are created using the selector option) cannot be individually destroyed on descendant trigger elements.

{% highlight js %}$('#element').popover('destroy'){% endhighlight %}

Events

diff --git a/docs/_includes/js/tooltips.html b/docs/_includes/js/tooltips.html index 48534ed3e3..77a0d5cb50 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 %}

.tooltip('destroy')

-

Tooltips that use delegation (which are created using the selector option) cannot be individually destroyed on descendant trigger elements.

+

Hides and destroys an element's tooltip. Tooltips that use delegation (which are created using the selector option) cannot be individually destroyed on descendant trigger elements.

{% highlight js %}$('#element').tooltip('destroy'){% endhighlight %}

Events