diff --git a/docs/_includes/js/alerts.html b/docs/_includes/js/alerts.html index 7f3bf99c2e..711fd6c40c 100644 --- a/docs/_includes/js/alerts.html +++ b/docs/_includes/js/alerts.html @@ -36,10 +36,10 @@

Methods

-

$().alert()

+

$().alert()

Makes an alert listen for click events on descendant elements which have the data-dismiss="alert" attribute. (Not necessary when using the data-api's auto-initialization.)

-

$().alert('close')

+

$().alert('close')

Closes an alert by removing it from the DOM. If the .fade and .in classes are present on the element, the alert will fade out before it is removed.

diff --git a/docs/_includes/js/buttons.html b/docs/_includes/js/buttons.html index 83bf0bfaae..827906cd88 100644 --- a/docs/_includes/js/buttons.html +++ b/docs/_includes/js/buttons.html @@ -115,15 +115,15 @@ {% endhighlight %}

Methods

- -

$().button('toggle')

+

$().button('toggle')

Toggles push state. Gives the button the appearance that it has been activated.

-

$().button('reset')

+

$().button('reset')

Resets button state - swaps text to original text.

-

$().button(string)

+

$().button(string)

Swaps text to any data defined text state.

+ {% highlight html %}