mirror of
https://github.com/twbs/bootstrap.git
synced 2022-11-09 12:25:43 -05:00
temporarily undo @fat's scrollspy enhancement since it fucks firefox and ie
This commit is contained in:
parent
939c9590e5
commit
4f793752c5
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@
|
|||
$(document.body).on('click', '.bs-sidenav [href^=#]', function (e) {
|
||||
var $target = $(this.getAttribute('href'))
|
||||
|
||||
e.preventDefault() // prevent browser scroll
|
||||
// e.preventDefault() // prevent browser scroll
|
||||
|
||||
document.body.scrollTop =
|
||||
$target.offset().top -
|
||||
|
|
Loading…
Reference in a new issue