diff --git a/docs/javascript.html b/docs/javascript.html
index 9a5a5b6f06..d1c987904b 100644
--- a/docs/javascript.html
+++ b/docs/javascript.html
@@ -80,7 +80,7 @@ $('#myModal').on('show.bs.modal', function (e) {
Transitions transition.js
About transitions
-
For simple transition effects, include transition.js once alongside the other JS files. If you're using the compiled (or minified) bootstrap.js, there is no need to include this—it's already there.
+
For simple transition effects, include transition.js once alongside the other JS files. If you're using the compiled (or minified) bootstrap.js, there is no need to include this—it's already there.
Use cases
A few examples of the transition plugin:
@@ -123,7 +123,7 @@ $('#myModal').on('show.bs.modal', function (e) {
-
+
{% highlight html %}
@@ -142,7 +142,7 @@ $('#myModal').on('show.bs.modal', function (e) {
-
+
{% endhighlight %}
@@ -186,7 +186,7 @@ $('#myModal').on('show.bs.modal', function (e) {
-
+
@@ -212,7 +212,7 @@ $('#myModal').on('show.bs.modal', function (e) {
Save changes
If a remote url is provided, content will be loaded via jQuery's load method and injected into the .modal-body. If you're using the data api, you may alternatively use the href tag to specify the remote source. An example of this is shown below:
+
If a remote URL is provided, content will be loaded via jQuery's load method and injected into the .modal-body. If you're using the data api, you may alternatively use the href tag to specify the remote source. An example of this is shown below:
{% highlight html %}
Click me
{% endhighlight %}
@@ -310,7 +310,7 @@ $('#myModal').modal({
shown
-
This event is fired when the modal has been made visible to the user (will wait for css transitions to complete).
+
This event is fired when the modal has been made visible to the user (will wait for CSS transitions to complete).
hide
@@ -318,7 +318,7 @@ $('#myModal').modal({
hidden
-
This event is fired when the modal has finished being hidden from the user (will wait for css transitions to complete).
+
This event is fired when the modal has finished being hidden from the user (will wait for CSS transitions to complete).
Insert html into the tooltip. If false, jquery's text method will be used to insert content into the dom. Use text if you're worried about XSS attacks.
+
Insert HTML into the tooltip. If false, jQuery's text method will be used to insert content into the DOM. Use text if you're worried about XSS attacks.
Insert html into the popover. If false, jquery's text method will be used to insert content into the dom. Use text if you're worried about XSS attacks.
+
Insert HTML into the popover. If false, jQuery's text method will be used to insert content into the DOM. Use text if you're worried about XSS attacks.
This event is fired when the alert has been closed (will wait for css transitions to complete).
+
This event is fired when the alert has been closed (will wait for CSS transitions to complete).
@@ -1379,7 +1379,7 @@ $('.nav-tabs').button()
Usage
Via data attributes
-
Just add data-toggle="collapse" and a data-target to element to automatically assign control of a collapsible element. The data-target attribute accepts a css selector to apply the collapse to. Be sure to add the class collapse to the collapsible element. If you'd like it to default open, add the additional class in.
+
Just add data-toggle="collapse" and a data-target to element to automatically assign control of a collapsible element. The data-target attribute accepts a CSS selector to apply the collapse to. Be sure to add the class collapse to the collapsible element. If you'd like it to default open, add the additional class in.
To add accordion-like group management to a collapsible control, add the data attribute data-parent="#selector". Refer to the demo to see this in action.