Skip to content

Commit

Permalink
Merge remote-tracking branch 'webkit/main' into 2024-01-24_title_support
Browse files Browse the repository at this point in the history
  • Loading branch information
camillobruni committed Jan 25, 2024
2 parents 90e96d7 + 3d93f17 commit 5efbb0c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion resources/main.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -348,8 +348,10 @@ class MainBenchmarkClient {
}

_setLocationHash(hash) {
if (window.location.hash === hash)
return;
if (hash === "#home" || hash === "") {
hash = "#home";
window.location.hash = hash = "#home";
this._removeLocationHash();
} else {
window.location.hash = hash;
Expand Down

0 comments on commit 5efbb0c

Please sign in to comment.