]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Modal docs: Add MDN autofocus docs link
authorChris Rebert <github@rebertia.com>
Fri, 21 Aug 2015 05:05:55 +0000 (22:05 -0700)
committerChris Rebert <github@rebertia.com>
Fri, 21 Aug 2015 05:05:55 +0000 (22:05 -0700)
docs/components/modal.md

index 1e24baf5b5767f5962a986deb62e474b4c8c46a9..2b28c1998415f2efc561eaf83b9a6d6ed7f44f4e 100644 (file)
@@ -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 () {