rsjt
This commit is contained in:
parent
d2639a348c
commit
7ae22ae98d
@ -40,7 +40,8 @@ function initArenaModes() {
|
|||||||
card.addEventListener("click", () => {
|
card.addEventListener("click", () => {
|
||||||
const mode = card.dataset.mode;
|
const mode = card.dataset.mode;
|
||||||
if (mode === "1v1") {
|
if (mode === "1v1") {
|
||||||
window.location.href = "/arena/1v1";
|
const tab = window.open("/arena/1v1", "_blank");
|
||||||
|
tab?.focus();
|
||||||
} else {
|
} else {
|
||||||
console.log("Arena Modus gewählt:", mode);
|
console.log("Arena Modus gewählt:", mode);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user