diff options
| author | Mark Otto <[email protected]> | 2013-05-08 21:56:08 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2013-05-08 21:56:08 -0700 |
| commit | edb733ebc7db2d76bdac2611cbd83c5ae36f4fee (patch) | |
| tree | 99c8329c1718c0d474344a08122c51846956bf4c /docs/assets/js/application.js | |
| parent | 88dd9de9bad56b30a12466477a810c78648200c9 (diff) | |
| download | bootstrap-edb733ebc7db2d76bdac2611cbd83c5ae36f4fee.tar.xz bootstrap-edb733ebc7db2d76bdac2611cbd83c5ae36f4fee.zip | |
Super massive docs overhaul
* Bring back the navbar up top
* Pull the docs content back into separate pages because a 6.6k line docs file is just crazy
* Recenter the page content and bring back affixed side nav (needs work)
Diffstat (limited to 'docs/assets/js/application.js')
| -rw-r--r-- | docs/assets/js/application.js | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/docs/assets/js/application.js b/docs/assets/js/application.js index 170a1953d..c43008e51 100644 --- a/docs/assets/js/application.js +++ b/docs/assets/js/application.js @@ -14,14 +14,14 @@ }) // back to top - // setTimeout(function () { - // $('.bs-docs-sidenav').affix({ - // offset: { - // top: function () { return $window.width() <= 980 ? 290 : 210 } - // , bottom: 270 - // } - // }) - // }, 100) + setTimeout(function () { + $('.bs-docs-sidebar').affix({ + offset: { + top: function () { return $window.width() <= 980 ? 290 : 210 } + , bottom: 270 + } + }) + }, 100) setTimeout(function () { $('.bs-docs-top').affix() |
