We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 92d705d commit 9f809d1Copy full SHA for 9f809d1
src/js/03-fragment-jumper.js
@@ -25,7 +25,7 @@
25
var fragment, target
26
if ((fragment = decodeFragment(window.location.hash)) && (target = document.getElementById(fragment))) {
27
document.documentElement.style.scrollBehavior = 'auto'
28
- jumpToAnchor.bind(target)()
+ jumpToAnchor.call(target)
29
setTimeout(jumpToAnchor.bind(target), 0)
30
setTimeout(function () {
31
document.documentElement.style.scrollBehavior = ''
0 commit comments