mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-18 11:21:23 +02:00
remove js anchor interference
This commit is contained in:
@@ -878,7 +878,6 @@ input.focused {
|
|||||||
width: 330px !important;
|
width: 330px !important;
|
||||||
min-height: 132px;
|
min-height: 132px;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Large desktops and up */
|
/* Large desktops and up */
|
||||||
|
@@ -20,14 +20,6 @@
|
|||||||
e.preventDefault()
|
e.preventDefault()
|
||||||
})
|
})
|
||||||
|
|
||||||
$body.on('click', '.bs-sidenav [href^=#]', function (e) {
|
|
||||||
var $target = $(this.getAttribute('href'))
|
|
||||||
|
|
||||||
e.preventDefault() // prevent browser scroll
|
|
||||||
|
|
||||||
$window.scrollTop($target.offset().top - navHeight + 5)
|
|
||||||
})
|
|
||||||
|
|
||||||
// back to top
|
// back to top
|
||||||
setTimeout(function () {
|
setTimeout(function () {
|
||||||
var $sideBar = $('.bs-sidebar')
|
var $sideBar = $('.bs-sidebar')
|
||||||
|
Reference in New Issue
Block a user