From: Chris Rebert Date: Tue, 20 Oct 2015 06:45:23 +0000 (-0700) Subject: docs/getting-started/javascript.md: Hyperlink preventDefault() mention X-Git-Tag: v4.0.0-alpha.2~240 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dd78e759915ed6a4678800b8aa24fd5bcc3ee728;p=thirdparty%2Fbootstrap.git docs/getting-started/javascript.md: Hyperlink preventDefault() mention [skip sauce] --- diff --git a/docs/getting-started/javascript.md b/docs/getting-started/javascript.md index 75d835b604..debc4dcf5c 100644 --- a/docs/getting-started/javascript.md +++ b/docs/getting-started/javascript.md @@ -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) {