fixed hash parameter
This commit is contained in:
parent
c1b8edf525
commit
aad37dd523
1 changed files with 1 additions and 1 deletions
|
@ -89,7 +89,7 @@
|
||||||
<script>
|
<script>
|
||||||
document.onreadystatechange = _ => {
|
document.onreadystatechange = _ => {
|
||||||
if(document.readyState === "complete") {
|
if(document.readyState === "complete") {
|
||||||
document.getElementById("thing").innerHTML = window.location.hash ? window.location.hash : "no hash specified"
|
document.getElementById("thing").innerHTML = window.location.hash ? decodeURI(window.location.hash.substr(1)) : "no hash specified"
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|
Loading…
Reference in a new issue