mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-10 15:44:51 +02:00
refresh scrollspy after page 'loads'
This commit is contained in:
@@ -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()
|
||||||
})
|
})
|
||||||
|
Reference in New Issue
Block a user