mirror of
https://github.com/twbs/bootstrap.git
synced 2025-09-29 23:09:05 +02:00
fix sidenav js
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
|
||||
// Scrollspy
|
||||
var $window = $(window)
|
||||
var $body = $('document.body')
|
||||
var $body = $(document.body)
|
||||
|
||||
$body.scrollspy({
|
||||
target: '.active .bs-docs-sidenav'
|
||||
@@ -28,7 +28,7 @@
|
||||
})
|
||||
|
||||
// Kill links
|
||||
$('.bs-docs-container [href=#]').click(function (e) {
|
||||
$('[href=#]').click(function (e) {
|
||||
e.preventDefault()
|
||||
})
|
||||
|
||||
|
Reference in New Issue
Block a user