mirror of
https://github.com/twbs/bootstrap.git
synced 2022-11-09 12:25:43 -05:00
remove js anchor interference
This commit is contained in:
parent
f6cec812a6
commit
b1d21731ad
2 changed files with 0 additions and 9 deletions
|
@ -878,7 +878,6 @@ input.focused {
|
|||
width: 330px !important;
|
||||
min-height: 132px;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/* Large desktops and up */
|
||||
|
|
|
@ -20,14 +20,6 @@
|
|||
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
|
||||
setTimeout(function () {
|
||||
var $sideBar = $('.bs-sidebar')
|
||||
|
|
Loading…
Add table
Reference in a new issue