]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Fix doc for tooltips and popover method dispose 17613/head
authorJohann-S <johann.servoire@gmail.com>
Wed, 16 Sep 2015 07:40:26 +0000 (09:40 +0200)
committerJohann-S <johann.servoire@gmail.com>
Wed, 16 Sep 2015 07:40:26 +0000 (09:40 +0200)
docs/components/popovers.md
docs/components/tooltips.md

index 3b9753aa5b74b7a2bd2d9d6e96fc1ae003ea4977..4b32aa8a328e0f6f79652eab0f06ccba18ef69f1 100644 (file)
@@ -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
 
index 85f3e63b6b64ec6c814992b13c2badb4ae44d16d..034af3e384aacb2e60139900edaed6f2a9a15160 100644 (file)
@@ -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