aboutsummaryrefslogtreecommitdiff
path: root/docs/_includes
diff options
context:
space:
mode:
authorChris Rebert <[email protected]>2014-07-03 13:18:44 -0700
committerChris Rebert <[email protected]>2014-07-03 13:18:44 -0700
commit92fd25a2a29dbef6b47ba932e9ba836150b93eeb (patch)
tree34f3823fe9e934bc314a5d3f9ed820d56a9f482d /docs/_includes
parentb793fbb13a8f0cb0fab04de8f7fe732b445e6daf (diff)
downloadbootstrap-92fd25a2a29dbef6b47ba932e9ba836150b93eeb.tar.xz
bootstrap-92fd25a2a29dbef6b47ba932e9ba836150b93eeb.zip
use non-minified docs JS on non-gh-pages
Diffstat (limited to 'docs/_includes')
-rw-r--r--docs/_includes/footer.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/_includes/footer.html b/docs/_includes/footer.html
index 0bb3eafd3..cebd0ee7b 100644
--- a/docs/_includes/footer.html
+++ b/docs/_includes/footer.html
@@ -34,7 +34,11 @@
<!-- Placed at the end of the document so the pages load faster -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script src="../dist/js/bootstrap.min.js"></script>
+{% if site.github %}
<script src="../assets/js/docs.min.js"></script>
+{% else %}
+<script src="../assets/js/src/application.js"></script>
+{% endif %}
{% if page.slug == "customize" %}
<script src="../assets/js/customize.min.js"></script>
{% endif %}