Skip to content

Commit

Permalink
chore: try reload
Browse files Browse the repository at this point in the history
  • Loading branch information
vladimirvolek committed Sep 19, 2024
1 parent 79a9e66 commit ff27053
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -313,6 +313,11 @@

if (hash && redirectionMap[hash]) {
window.location.href = redirectionMap[hash];
}
});

window.addEventListener("hashchange", function () {
if (redirectionMap[window.location.hash]) {
window.location.reload();
}
});
Expand Down

0 comments on commit ff27053

Please sign in to comment.