aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorAlec Perkins2012-09-07 13:01:30 -0400
committerAlec Perkins2012-09-07 13:01:30 -0400
commit17654a8b546e6bb44bef1fbb67c788f7c5c70a41 (patch)
tree2168e881542ed97e48dd110291d2e9bd8c213aa3 /docs
parent3306e448ef4ac9f3e01312916062126dfc94c1ae (diff)
downloaddjango-rest-framework-17654a8b546e6bb44bef1fbb67c788f7c5c70a41.tar.bz2
[docs] Add bootstrap-collapse plugin, fixing collapsing navbar.
Diffstat (limited to 'docs')
-rw-r--r--docs/template.html9
1 files changed, 5 insertions, 4 deletions
diff --git a/docs/template.html b/docs/template.html
index 629481ac..5e755f83 100644
--- a/docs/template.html
+++ b/docs/template.html
@@ -143,10 +143,11 @@ margin-top: 5px;
<script src="{{ base_url }}/js/jquery.js"></script>
<script src="{{ base_url }}/js/bootstrap-dropdown.js"></script>
<script src="{{ base_url }}/js/bootstrap-scrollspy.js"></script>
+ <script src="{{ base_url }}/js/bootstrap-collapse.js"></script>
<script>
- //$('.side-nav').scrollspy()
- var shiftWindow = function() { scrollBy(0, -50) };
- if (location.hash) shiftWindow();
- window.addEventListener("hashchange", shiftWindow);
+ //$('.side-nav').scrollspy()
+ var shiftWindow = function() { scrollBy(0, -50) };
+ if (location.hash) shiftWindow();
+ window.addEventListener("hashchange", shiftWindow);
</script>
</body></html> \ No newline at end of file