Skip to content

Commit

Permalink
fix: scroll hash encoded when non-english chars are used fix #2633 (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
d-pollard authored Oct 2, 2020
1 parent 35865ec commit 5fcbd88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/@vuepress/core/lib/client/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ export async function createApp (isServer) {
return false
}
return {
selector: to.hash
selector: decodeURIComponent(to.hash)
}
} else {
return { x: 0, y: 0 }
Expand Down

0 comments on commit 5fcbd88

Please sign in to comment.