]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Update javascript.md
authorMark Otto <markd.otto@gmail.com>
Sat, 17 Jun 2017 01:59:43 +0000 (18:59 -0700)
committerMark Otto <markd.otto@gmail.com>
Fri, 11 Aug 2017 05:42:23 +0000 (22:42 -0700)
docs/4.0/getting-started/javascript.md

index bd2f969ffea319c6b588cc1b325cf65678748ab3..92891a2ab37bc217e9771f5636afaa73a2022e23 100644 (file)
@@ -36,7 +36,7 @@ $(document).off('.alert.data-api')
 
 Bootstrap provides custom events for most plugins' unique actions. Generally, these come in an infinitive and past participle form - where the infinitive (ex. `show`) is triggered at the start of an event, and its past participle form (ex. `shown`) is triggered on the completion of an action.
 
-All infinitive events provide [`preventDefault()`](https://developer.mozilla.org/en-US/docs/Web/API/Event/preventDefault) functionality. This provides the ability to stop the execution of an action before it starts. Returning false from an event handler will also automatically call `preventDefault()`
+All infinitive events provide [`preventDefault()`](https://developer.mozilla.org/en-US/docs/Web/API/Event/preventDefault) functionality. This provides the ability to stop the execution of an action before it starts. Returning false from an event handler will also automatically call `preventDefault()`.
 
 {% highlight js %}
 $('#myModal').on('show.bs.modal', function (e) {