aboutsummaryrefslogtreecommitdiff
path: root/docs/components/modal.md
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2015-05-29 01:58:52 -0700
committerMark Otto <[email protected]>2015-05-29 01:58:52 -0700
commitb455ed8def8c82acaabf79c74e8899ee9139b6b2 (patch)
tree4d287f898555ceab2d089c17905239f3f437e799 /docs/components/modal.md
parent9e1af0d743315e4f3dc220dc308f940f92b20d5a (diff)
downloadbootstrap-b455ed8def8c82acaabf79c74e8899ee9139b6b2.tar.xz
bootstrap-b455ed8def8c82acaabf79c74e8899ee9139b6b2.zip
add markdown toc stuff
Diffstat (limited to 'docs/components/modal.md')
-rw-r--r--docs/components/modal.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/components/modal.md b/docs/components/modal.md
index b80b41405..80d0820fc 100644
--- a/docs/components/modal.md
+++ b/docs/components/modal.md
@@ -5,6 +5,11 @@ title: Modal
Modals are streamlined, but flexible, dialog prompts with the minimum required functionality and smart defaults.
+## Contents
+
+* 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:
{% highlight js %}