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

Remove unnecessary .bd-popover class from docs

Also one spelling typo corrected.

Closes #18043
This commit is contained in:
Thomas Shinnick 2015-10-24 00:15:50 -05:00 committed by Chris Rebert
parent 4461884f69
commit e544bf4cf8

View file

@ -93,7 +93,7 @@ Four options are available: top, right, bottom, and left aligned.
## Live demo ## Live demo
{% example html %} {% example html %}
<button type="button" class="btn btn-lg btn-danger bd-popover" data-toggle="popover" title="Popover title" data-content="And here's some amazing content. It's very engaging. Right?">Click to toggle popover</button> <button type="button" class="btn btn-lg btn-danger" data-toggle="popover" title="Popover title" data-content="And here's some amazing content. It's very engaging. Right?">Click to toggle popover</button>
{% endexample %} {% endexample %}
### Four directions ### Four directions
@ -145,7 +145,7 @@ For proper cross-browser and cross-platform behavior, you must use the `<a>` tag
{% endcallout %} {% endcallout %}
{% example html %} {% example html %}
<a tabindex="0" class="btn btn-lg btn-danger bd-popover" role="button" data-toggle="popover" data-trigger="focus" title="Dismissible popover" data-content="And here's some amazing content. It's very engaging. Right?">Dismissible popover</a> <a tabindex="0" class="btn btn-lg btn-danger" role="button" data-toggle="popover" data-trigger="focus" title="Dismissible popover" data-content="And here's some amazing content. It's very engaging. Right?">Dismissible popover</a>
{% endexample %} {% endexample %}
{% highlight js %} {% highlight js %}
@ -306,7 +306,7 @@ Toggles an element's popover. **Returns to the caller before the popover has act
#### `.popover('dispose')` #### `.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. Hides and destroys an element's popover. Popovers that use delegation (which are created using [the `selector` option](#options)) cannot be individually destroyed on descendant trigger elements.
{% highlight js %}$('#element').popover('dispose'){% endhighlight %} {% highlight js %}$('#element').popover('dispose'){% endhighlight %}