1
0
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:
Mark Otto
2014-07-10 00:24:34 -07:00
parent e9f3f9cf3d
commit fb775bae21
2 changed files with 3 additions and 3 deletions

View File

@@ -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()
})