diff options
| author | Chris Rebert <[email protected]> | 2014-07-03 13:28:30 -0700 |
|---|---|---|
| committer | Chris Rebert <[email protected]> | 2014-07-03 13:40:47 -0700 |
| commit | 1dc54dc160d4352d894550c7c5d3f68c475ba2cf (patch) | |
| tree | ec2500221862eaa8efd9ba89523e634676652591 /docs/_includes | |
| parent | 92fd25a2a29dbef6b47ba932e9ba836150b93eeb (diff) | |
| download | bootstrap-1dc54dc160d4352d894550c7c5d3f68c475ba2cf.tar.xz bootstrap-1dc54dc160d4352d894550c7c5d3f68c475ba2cf.zip | |
use non-minified Bootstrap JS when on non-gh-pages
Diffstat (limited to 'docs/_includes')
| -rw-r--r-- | docs/_includes/footer.html | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/_includes/footer.html b/docs/_includes/footer.html index cebd0ee7b..f962d19cc 100644 --- a/docs/_includes/footer.html +++ b/docs/_includes/footer.html @@ -33,10 +33,16 @@ ================================================== --> <!-- 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> +{% if site.github %} <script src="../dist/js/bootstrap.min.js"></script> +{% else %} +<script src="../dist/js/bootstrap.js"></script> +{% endif %} {% if site.github %} <script src="../assets/js/docs.min.js"></script> {% else %} +<script src="../assets/js/vendor/holder.js"></script> +<script src="../assets/js/vendor/ZeroClipboard.min.js"></script> <script src="../assets/js/src/application.js"></script> {% endif %} {% if page.slug == "customize" %} |
