mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-12-29 11:26:13 +08:00
no need to change page on ready
This commit is contained in:
parent
6854c241e3
commit
958ce41b3f
1 changed files with 2 additions and 2 deletions
|
|
@ -48,8 +48,8 @@ $(document).ready(() => {
|
|||
} else if (window.location.pathname !== "/") {
|
||||
if (/\/tribe.*/.test(window.location.pathname)) {
|
||||
} else {
|
||||
let page = window.location.pathname.replace("/", "");
|
||||
UI.changePage(page);
|
||||
// let page = window.location.pathname.replace("/", "");
|
||||
// UI.changePage(page);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue