3D working
This commit is contained in:
@ -51,7 +51,7 @@ export default class extends AbstractAuthenticatedView {
|
||||
{
|
||||
if (data.detail === "game_found")
|
||||
{
|
||||
navigateTo(`/games/${this.game_mode}/${data.game_id}`);
|
||||
navigateTo(`/games/${data.game_id}/${this.game_mode}`);
|
||||
return;
|
||||
}
|
||||
this.display_data(data);
|
||||
@ -95,7 +95,7 @@ export default class extends AbstractAuthenticatedView {
|
||||
["change", "oninput"].forEach((event_name) => {
|
||||
input.addEventListener(event_name, update);
|
||||
});
|
||||
document.getElementById("game-mode").onclick = this.press_button_game_mode.bind(this)
|
||||
document.getElementById("game-mode").onclick = this.press_button_game_mode.bind(this);
|
||||
}
|
||||
|
||||
async getHtml() {
|
||||
|
Reference in New Issue
Block a user