aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorChris Rebert <[email protected]>2015-09-16 11:41:28 -0700
committerChris Rebert <[email protected]>2015-09-16 11:41:28 -0700
commit62199b96dc8f2b56ca46df2762e328442ce29157 (patch)
treeb9e9f9a747a78c0e7197138c474507f6d730f1e2 /docs
parentc34fdd415e864e5e6a64f36a0278b5d43c15d3a2 (diff)
parentc9597b1c540c472dea82a7edd91ffb356b0d327f (diff)
downloadbootstrap-62199b96dc8f2b56ca46df2762e328442ce29157.tar.xz
bootstrap-62199b96dc8f2b56ca46df2762e328442ce29157.zip
Merge pull request #17613 from Johann-S/fixTooltipDestroy
Fix #17544: Update doc for tooltips and popover about dispose method
Diffstat (limited to 'docs')
-rw-r--r--docs/components/popovers.md4
-rw-r--r--docs/components/tooltips.md4
2 files changed, 4 insertions, 4 deletions
diff --git a/docs/components/popovers.md b/docs/components/popovers.md
index 3b9753aa5..4b32aa8a3 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 85f3e63b6..034af3e38 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