aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorChris Rebert <[email protected]>2015-08-20 22:05:55 -0700
committerChris Rebert <[email protected]>2015-08-20 22:05:55 -0700
commit30cc2c4815fd8d8e9b5497de0c4c5fd666092b1d (patch)
tree2d4e62eaa2214d9927b5b5d7fefbd5e5f21ca0dd /docs
parent6623ad2e9bc9925a9b9105e810863d02e707a995 (diff)
downloadbootstrap-30cc2c4815fd8d8e9b5497de0c4c5fd666092b1d.tar.xz
bootstrap-30cc2c4815fd8d8e9b5497de0c4c5fd666092b1d.zip
Modal docs: Add MDN autofocus docs link
Diffstat (limited to 'docs')
-rw-r--r--docs/components/modal.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/components/modal.md b/docs/components/modal.md
index 1e24baf5b..2b28c1998 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 () {