]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
add docs note about browsers w/ JS disabled; fixes #14134 14143/head
authorChris Rebert <code@rebertia.com>
Tue, 15 Jul 2014 00:16:11 +0000 (17:16 -0700)
committerChris Rebert <code@rebertia.com>
Tue, 15 Jul 2014 00:17:38 +0000 (17:17 -0700)
[skip sauce]

docs/_includes/js/overview.html
docs/_includes/nav/javascript.html

index 2ef8fe8507f7bdb8321aee98a00b61cd45d2826b..3aaba0980780376caf8622722812e09b2858790f 100644 (file)
@@ -64,6 +64,9 @@ $('#myModal').on('show.bs.modal', function (e) {
 })
 {% endhighlight %}
 
+  <h3 id="js-disabled">No special fallbacks when JavaScript is disabled</h3>
+  <p>Bootstrap's plugins don't fall back particularly gracefully when JavaScript is disabled. If you care about the user experience in this case, use <a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/noscript"><code>&lt;noscript&gt;</code></a> to explain the situation (and how to re-enable JavaScript) to your users, and/or add your own custom fallbacks.</p>
+
   <div class="bs-callout bs-callout-warning" id="callout-third-party-libs">
     <h4>Third-party libraries</h4>
     <p><strong>Bootstrap does not officially support third-party JavaScript libraries</strong> like Prototype or jQuery UI. Despite <code>.noConflict</code> and namespaced events, there may be compatibility problems that you need to fix on your own.</p>
index 9cccf1d99d61482389605fcca5c1046687e699c0..bab188ef1f6a5e2f1e65b6293b678085efd50aa9 100644 (file)
@@ -6,6 +6,7 @@
     <li><a href="#js-programmatic-api">Programmatic API</a></li>
     <li><a href="#js-noconflict">No conflict</a></li>
     <li><a href="#js-events">Events</a></li>
+    <li><a href="#js-disabled">When JavaScript is disabled</a></li>
     <li><a href="#callout-third-party-libs">Third-party libraries</a></li>
   </ul>
 </li>