]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Port #14674 over to hosted docs
authorChris Rebert <code@rebertia.com>
Sat, 27 Sep 2014 01:16:10 +0000 (18:16 -0700)
committerChris Rebert <code@rebertia.com>
Sat, 27 Sep 2014 01:16:10 +0000 (18:16 -0700)
javascript/index.html

index 6b8fea5761c3eecd93853fb63742c3fba7232897..3405b012deef645321c5dd881f12b10cbc9e2745 100644 (file)
 
 <div class="bs-docs-section">
   <h1 id="modals" class="page-header">Modals <small>modal.js</small></h1>
-
-  <h2 id="modals-examples">Examples</h2>
   <p>Modals are streamlined, but flexible, dialog prompts with the minimum required functionality and smart defaults.</p>
 
   <div class="bs-callout bs-callout-warning" id="callout-stacked-modals">
     <p>There are some caveats regarding using modals on mobile devices. <a href="../getting-started/#support-fixed-position-keyboards">See our browser support docs</a> for details.</p>
   </div>
 
+  <p><strong class="text-danger">Due to how HTML5 defines its semantics, the <code>autofocus</code> HTML attribute has no effect in Bootstrap modals.</strong></p>
+
+  <h2 id="modals-examples">Examples</h2>
+
   <h3>Static example</h3>
   <p>A rendered modal with header, body, and set of actions in the footer.</p>
   <div class="bs-example bs-example-modal">