mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-05 21:27:31 +02:00
temporarily undo @fat's scrollspy enhancement since it fucks firefox and ie
This commit is contained in:
@@ -22,7 +22,7 @@
|
|||||||
$(document.body).on('click', '.bs-sidenav [href^=#]', function (e) {
|
$(document.body).on('click', '.bs-sidenav [href^=#]', function (e) {
|
||||||
var $target = $(this.getAttribute('href'))
|
var $target = $(this.getAttribute('href'))
|
||||||
|
|
||||||
e.preventDefault() // prevent browser scroll
|
// e.preventDefault() // prevent browser scroll
|
||||||
|
|
||||||
document.body.scrollTop =
|
document.body.scrollTop =
|
||||||
$target.offset().top -
|
$target.offset().top -
|
||||||
|
Reference in New Issue
Block a user