refresh scrollspy after page 'loads'

This commit is contained in:
Jacob Thornton 2013-08-11 15:03:48 -07:00
parent 31ab07b32a
commit c49ecc5f21
1 changed files with 4 additions and 0 deletions

View File

@ -16,6 +16,10 @@
offset: navHeight offset: navHeight
}) })
$window.on('load', function () {
$body.scrollspy('refresh')
})
$('.bs-docs-container [href=#]').click(function (e) { $('.bs-docs-container [href=#]').click(function (e) {
e.preventDefault() e.preventDefault()
}) })