From: Johann-S Date: Wed, 16 Sep 2015 07:40:26 +0000 (+0200) Subject: Fix doc for tooltips and popover method dispose X-Git-Tag: v4.0.0-alpha.2~305^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F17613%2Fhead;p=thirdparty%2Fbootstrap.git Fix doc for tooltips and popover method dispose --- diff --git a/docs/components/popovers.md b/docs/components/popovers.md index 3b9753aa5b..4b32aa8a32 100644 --- a/docs/components/popovers.md +++ b/docs/components/popovers.md @@ -304,12 +304,12 @@ Toggles an element's popover. **Returns to the caller before the popover has act {% highlight js %}$('#element').popover('toggle'){% endhighlight %} -#### .popover('destroy') +#### .popover('dispose') Hides and destroys an element's popover. Popvoers that use delegation (which are created using [the `selector` option](#options)) cannot be individually destroyed on descendant trigger elements. -{% highlight js %}$('#element').popover('destroy'){% endhighlight %} +{% highlight js %}$('#element').popover('dispose'){% endhighlight %} ### Events diff --git a/docs/components/tooltips.md b/docs/components/tooltips.md index 85f3e63b6b..034af3e384 100644 --- a/docs/components/tooltips.md +++ b/docs/components/tooltips.md @@ -262,11 +262,11 @@ Toggles an element's tooltip. **Returns to the caller before the tooltip has act {% highlight js %}$('#element').tooltip('toggle'){% endhighlight %} -#### .tooltip('destroy') +#### .tooltip('dispose') Hides and destroys an element's tooltip. Tooltips that use delegation (which are created using [the `selector` option](#options)) cannot be individually destroyed on descendant trigger elements. -{% highlight js %}$('#element').tooltip('destroy'){% endhighlight %} +{% highlight js %}$('#element').tooltip('dispose'){% endhighlight %} ### Events