Commit c49ecc5f authored by Jacob Thornton's avatar Jacob Thornton
Browse files

refresh scrollspy after page 'loads'

parent 31ab07b3
No related merge requests found
Showing with 4 additions and 0 deletions
+4 -0
...@@ -16,6 +16,10 @@ ...@@ -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()
}) })
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment