1
0
Fork 0
mirror of https://github.com/twbs/bootstrap.git synced 2022-11-09 12:25:43 -05:00

Fix doc for tooltips and popover method dispose

This commit is contained in:
Johann-S 2015-09-16 09:40:26 +02:00
parent c34fdd415e
commit c9597b1c54
2 changed files with 4 additions and 4 deletions

View 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

View 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