mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2026-01-15 03:44:31 +08:00
old code
This commit is contained in:
parent
c4cc44522e
commit
6683625ae3
2 changed files with 0 additions and 35 deletions
|
|
@ -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="
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue