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 8c9f1a4 commit df65578Copy full SHA for df65578
themes/vue/source/js/common.js
@@ -35,7 +35,12 @@
35
}
36
37
function initLocationHashFuzzyMatching () {
38
- var hash = window.location.hash
+ var hash;
39
+ try {
40
+ hash = escapeCharacters(decodeURIComponent(window.location.hash))
41
+ } catch(e) {
42
+ hash = escapeCharacters(window.location.hash)
43
+ }
44
if (!hash) return
45
var hashTarget = document.getElementById(hash)
46
if (!hashTarget) {
0 commit comments