This commit is contained in:
Miodec 2026-01-01 21:29:50 +01:00
parent c4cc44522e
commit 6683625ae3
2 changed files with 0 additions and 35 deletions

View file

@ -98,24 +98,6 @@
<div class="subtext">Join using a room code</div>
</button>
</div>
<!-- <div id="joinByCode">
<div class="customInput">
<span class="byte">--</span>
/
<span class="byte">--</span>
/
<span class="byte">--</span>
</div>
<input
type="text"
placeholder="Code"
maxlength="6"
class=""
/>
<div class="button">
<i class="fas fa-chevron-right"></i>
</div>
</div> -->
</div>
<div
style="

View file

@ -1,4 +1,3 @@
import * as Notifications from "../../elements/notifications";
import tribeSocket from "../tribe-socket";
import { getTribeConfig } from "../tribe-config";
@ -81,22 +80,6 @@ export function getQ(): number[] {
return ret;
}
export function joinRoomByCode(_code: string): void {
Notifications.add("todo", -1);
return;
// code = "room_" + code;
// socket.emit("mp_room_join", { roomId: code });
// $(".pageTribe .menu #joinByCode input").val("");
// $(".pageTribe .menu #joinByCode .customInput").html(`
// <span class="byte">--</span>
// /
// <span class="byte">--</span>
// /
// <span class="byte">--</span>
// `);
}
$(".pageTribe .menu .customRooms #createCustomRoom").on("click", (e) => {
if ($(e.currentTarget).hasClass("disabled")) return;
disableButtons();