Commit b1d21731 authored by fat's avatar fat
Browse files

remove js anchor interference

parent f6cec812
Showing with 0 additions and 9 deletions
+0 -9
...@@ -878,7 +878,6 @@ input.focused { ...@@ -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 @@ ...@@ -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')
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment