]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
docs/getting-started/javascript.md: Hyperlink preventDefault() mention
authorChris Rebert <code@chrisrebert.com>
Tue, 20 Oct 2015 06:45:23 +0000 (23:45 -0700)
committerChris Rebert <code@chrisrebert.com>
Tue, 20 Oct 2015 06:45:26 +0000 (23:45 -0700)
[skip sauce]

docs/getting-started/javascript.md

index 75d835b604cbc25bf0021357823df9b51ceffcae..debc4dcf5c7648e0438c9a6f56c6eecd7c841999 100644 (file)
@@ -73,7 +73,7 @@ $.fn.bootstrapBtn = bootstrapButton            // give $().bootstrapBtn the Boot
 
 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` functionality. This provides the ability to stop the execution of an action before it starts.
+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.
 
 {% highlight js %}
 $('#myModal').on('show.bs.modal', function (e) {