From: Steven Black Date: Wed, 25 Feb 2015 02:00:37 +0000 (+0200) Subject: Javascript docs: Accessibility and cosmetic changes to headings. X-Git-Tag: v3.3.4~38 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=457885075f8fa004f3a190efdcf381af218e1bb7;p=thirdparty%2Fbootstrap.git Javascript docs: Accessibility and cosmetic changes to headings. Closes #15915 by merging it. --- 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 %}