mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-28 20:52:21 +01:00
refresh scrollspy after page 'loads'
This commit is contained in:
parent
31ab07b32a
commit
c49ecc5f21
@ -16,6 +16,10 @@
|
||||
offset: navHeight
|
||||
})
|
||||
|
||||
$window.on('load', function () {
|
||||
$body.scrollspy('refresh')
|
||||
})
|
||||
|
||||
$('.bs-docs-container [href=#]').click(function (e) {
|
||||
e.preventDefault()
|
||||
})
|
||||
|
Loading…
x
Reference in New Issue
Block a user