From 30cc2c4815fd8d8e9b5497de0c4c5fd666092b1d Mon Sep 17 00:00:00 2001 From: Chris Rebert Date: Thu, 20 Aug 2015 22:05:55 -0700 Subject: [PATCH] Modal docs: Add MDN autofocus docs link --- docs/components/modal.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/components/modal.md b/docs/components/modal.md index 1e24baf5b5..2b28c19984 100644 --- a/docs/components/modal.md +++ b/docs/components/modal.md @@ -11,7 +11,7 @@ Modals are streamlined, but flexible, dialog prompts with the minimum required f * Will be replaced with the ToC, excluding the "Contents" header {:toc} -**Due to how HTML5 defines its semantics, the `autofocus` HTML attribute has no effect in Bootstrap modals.** To achieve the same effect, use some custom JavaScript: +**Due to how HTML5 defines its semantics, [the `autofocus` HTML attribute](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#attr-autofocus) has no effect in Bootstrap modals.** To achieve the same effect, use some custom JavaScript: {% highlight js %} $('#myModal').on('shown.bs.modal', function () {