mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-06-25 00:44:39 +00:00
page.redirect was not a function, causing the url not to redirect. als remove the # check so we are no longer serving ads
This commit is contained in:
+2
-5
@@ -244,11 +244,8 @@ class Client {
|
||||
}
|
||||
const lobbyId = ctx.params.lobbyId;
|
||||
|
||||
// Show news modal even if user loads game directly
|
||||
const newsModal = document.querySelector("news-modal") as NewsModal;
|
||||
if (newsModal) {
|
||||
newsModal.open();
|
||||
}
|
||||
const modal = document.querySelector("news-modal") as NewsModal;
|
||||
if (modal) modal.open();
|
||||
|
||||
this.joinModal.open(lobbyId);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user