diff options
| author | Jacob Thornton <[email protected]> | 2013-08-11 15:03:48 -0700 |
|---|---|---|
| committer | Jacob Thornton <[email protected]> | 2013-08-11 15:03:48 -0700 |
| commit | c49ecc5f21f520b739c0c8a29ff4b5ece84c06ec (patch) | |
| tree | a428a13f501a89ac286099dc7215e62e2d9a5667 /assets | |
| parent | 31ab07b32aeabd8df3c7430dbb31d03b474360f5 (diff) | |
| download | bootstrap-c49ecc5f21f520b739c0c8a29ff4b5ece84c06ec.tar.xz bootstrap-c49ecc5f21f520b739c0c8a29ff4b5ece84c06ec.zip | |
refresh scrollspy after page 'loads'
Diffstat (limited to 'assets')
| -rw-r--r-- | assets/js/application.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/assets/js/application.js b/assets/js/application.js index e581fab70..66456ddb8 100644 --- a/assets/js/application.js +++ b/assets/js/application.js @@ -16,6 +16,10 @@ offset: navHeight }) + $window.on('load', function () { + $body.scrollspy('refresh') + }) + $('.bs-docs-container [href=#]').click(function (e) { e.preventDefault() }) |
