chore: comment typo [skip ci]

pull/79/head
Eduardo San Martin Morote 5 years ago
parent c437a4791e
commit 43f87de87e

@ -107,7 +107,7 @@ export function createRouter(
) { ) {
e.preventDefault() e.preventDefault()
if (pathname === currentUrl.pathname) { if (pathname === currentUrl.pathname) {
// scroll bewteen hash anchors in the same page // scroll between hash anchors in the same page
if (hash && hash !== currentUrl.hash) { if (hash && hash !== currentUrl.hash) {
history.pushState(null, '', hash) history.pushState(null, '', hash)
// use smooth scroll when clicking on header anchor links // use smooth scroll when clicking on header anchor links

Loading…
Cancel
Save