From ccecb7cde4f954a8941100b24c1b0c2008088276 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Mon, 22 Sep 2014 20:27:23 -0700 Subject: fixes #14654: callout for scrollspy-nav link --- docs/_includes/js/scrollspy.html | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'docs/_includes/js') diff --git a/docs/_includes/js/scrollspy.html b/docs/_includes/js/scrollspy.html index c68ec32a4..68d3b853c 100644 --- a/docs/_includes/js/scrollspy.html +++ b/docs/_includes/js/scrollspy.html @@ -51,6 +51,11 @@

Usage

+
+

Requires Bootstrap nav

+

Scrollspy currently requires the use of a Bootstrap nav component for proper highlighting of active links.

+
+

Requires relative positioning

No matter the implementation method, scrollspy requires the use of position: relative; on the element you're spying on. In most cases this is the <body>.

-- cgit v1.2.3 From d6903e4239afaf5659ec655c8f73f411f441f415 Mon Sep 17 00:00:00 2001 From: Chris Rebert Date: Tue, 23 Sep 2014 16:53:09 -0700 Subject: Document that the autofocus attribute doesn't work in modals. Closes #14478. --- docs/_includes/js/modal.html | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'docs/_includes/js') diff --git a/docs/_includes/js/modal.html b/docs/_includes/js/modal.html index b325c5d19..e47464a4c 100644 --- a/docs/_includes/js/modal.html +++ b/docs/_includes/js/modal.html @@ -1,7 +1,5 @@

Modals modal.js

- -

Examples

Modals are streamlined, but flexible, dialog prompts with the minimum required functionality and smart defaults.

@@ -17,6 +15,10 @@

There are some caveats regarding using modals on mobile devices. See our browser support docs for details.

+

Due to how HTML5 defines its semantics, the autofocus HTML attribute has no effect in Bootstrap modals.

+ +

Examples

+

Static example

A rendered modal with header, body, and set of actions in the footer.

-- cgit v1.2.3 From 93f4426fed83e53e60bc36a280687085eca1d4aa Mon Sep 17 00:00:00 2001 From: Chris Rebert Date: Tue, 23 Sep 2014 17:18:15 -0700 Subject: linkify reference to Nav component in Scrollspy docs --- docs/_includes/js/scrollspy.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/_includes/js') diff --git a/docs/_includes/js/scrollspy.html b/docs/_includes/js/scrollspy.html index 68d3b853c..8fa37d87f 100644 --- a/docs/_includes/js/scrollspy.html +++ b/docs/_includes/js/scrollspy.html @@ -53,7 +53,7 @@

Requires Bootstrap nav

-

Scrollspy currently requires the use of a Bootstrap nav component for proper highlighting of active links.

+

Scrollspy currently requires the use of a Bootstrap nav component for proper highlighting of active links.

Requires relative positioning

-- cgit v1.2.3 From d8c02c7d296f1410f2fcf8a864d8e7ea366a85fa Mon Sep 17 00:00:00 2001 From: Nicole Bartelt Date: Tue, 30 Sep 2014 17:10:51 -0700 Subject: Added default collapsed class to the collapsed accordion examples in the docs --- docs/_includes/js/collapse.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs/_includes/js') diff --git a/docs/_includes/js/collapse.html b/docs/_includes/js/collapse.html index 5701fbc26..5d59ef645 100644 --- a/docs/_includes/js/collapse.html +++ b/docs/_includes/js/collapse.html @@ -31,7 +31,7 @@