diff options
Diffstat (limited to 'docs/javascript.html')
| -rw-r--r-- | docs/javascript.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/javascript.html b/docs/javascript.html index 6595784c6..1b14e4430 100644 --- a/docs/javascript.html +++ b/docs/javascript.html @@ -134,7 +134,7 @@ $("#myModal").modal('show') // initializes and invokes show immed <h3>Events</h3> <p>Bootstrap provides custom events for most plugin's unique actions. Generally, these come in an infinitive and past participle form - where the infinitive (ex. <code>show</code>) is triggered at the start of an event, and its past participle form (ex. <code>shown</code>) is trigger on the completion of an action.</p> - <p>All infinitive events provide preventDefault functionality. This provides the abililty to stop the execution of an action before it starts.</p> + <p>All infinitive events provide preventDefault functionality. This provides the ability to stop the execution of an action before it starts.</p> <pre class="prettyprint linenums"> $('#myModal').on('show', function (e) { if (!data) return e.preventDefault() // stops modal from being shown @@ -505,7 +505,7 @@ $('#myModal').on('hidden', function () { <h3>Methods</h3> <h4>$().dropdown('toggle')</h4> - <p>A programatic api for toggling menus for a given navbar or tabbed navigation.</p> + <p>A programmatic api for toggling menus for a given navbar or tabbed navigation.</p> </section> @@ -634,7 +634,7 @@ $('[data-spy="scroll"]').each(function () { <h2>Example tabs</h2> - <p>Add quick, dynamic tab functionality to transiton through panes of local content, even via dropdown menus.</p> + <p>Add quick, dynamic tab functionality to transition through panes of local content, even via dropdown menus.</p> <div class="bs-docs-example"> <ul id="myTab" class="nav nav-tabs"> <li class="active"><a href="#home" data-toggle="tab">Home</a></li> |
