diff options
| author | Mark Otto <[email protected]> | 2017-06-16 18:59:43 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2017-08-10 22:42:23 -0700 |
| commit | caa7117e231b27e5359a9aa822bcff60defa0393 (patch) | |
| tree | 60529d9343ff1208121a669bf9b7bc9ed10b305b /docs/4.0/getting-started/javascript.md | |
| parent | 55389673814dc96d5477f679052013db5e10ea66 (diff) | |
| download | bootstrap-caa7117e231b27e5359a9aa822bcff60defa0393.tar.xz bootstrap-caa7117e231b27e5359a9aa822bcff60defa0393.zip | |
Update javascript.md
Diffstat (limited to 'docs/4.0/getting-started/javascript.md')
| -rw-r--r-- | docs/4.0/getting-started/javascript.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/4.0/getting-started/javascript.md b/docs/4.0/getting-started/javascript.md index bd2f969ff..92891a2ab 100644 --- a/docs/4.0/getting-started/javascript.md +++ b/docs/4.0/getting-started/javascript.md @@ -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) { |
