aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Rebert <[email protected]>2014-07-15 09:51:07 -0700
committerChris Rebert <[email protected]>2014-07-15 09:51:07 -0700
commitdc0fe18e35299d9c5b627de80cd8a631f0df2908 (patch)
treec79e50ff0146c7d3ed439b23231499f1c4fa3393
parentaa730472549087e9a1a76d4031d7f54867372097 (diff)
parent74691b7e27b1015085427e024ff31d2b6b24de0a (diff)
downloadbootstrap-dc0fe18e35299d9c5b627de80cd8a631f0df2908.tar.xz
bootstrap-dc0fe18e35299d9c5b627de80cd8a631f0df2908.zip
Merge pull request #14143 from twbs/fix-14134
add docs note about browsers with JS disabled
-rw-r--r--docs/_includes/js/overview.html3
-rw-r--r--docs/_includes/nav/javascript.html1
2 files changed, 4 insertions, 0 deletions
diff --git a/docs/_includes/js/overview.html b/docs/_includes/js/overview.html
index 2ef8fe850..3aaba0980 100644
--- a/docs/_includes/js/overview.html
+++ b/docs/_includes/js/overview.html
@@ -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>
diff --git a/docs/_includes/nav/javascript.html b/docs/_includes/nav/javascript.html
index 9cccf1d99..bab188ef1 100644
--- a/docs/_includes/nav/javascript.html
+++ b/docs/_includes/nav/javascript.html
@@ -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>