diff --git a/resources/main.mjs b/resources/main.mjs index 9d0b91d8b..bdfdb8cb6 100644 --- a/resources/main.mjs +++ b/resources/main.mjs @@ -348,10 +348,12 @@ class MainBenchmarkClient { } _setLocationHash(hash) { - if (hash === "#home" || hash === "") + if (hash === "#home" || hash === "") { + window.location.hash = "#home"; this._removeLocationHash(); - else + } else { window.location.hash = hash; + } } _removeLocationHash() {