mirror of
https://github.com/KeyZox71/knl_meowscendence.git
synced 2026-10-16 04:40:08 +02:00
「✨」 feat(front): removed ugly caps ew
This commit is contained in:
1 parent
b52b43b250
commit
fa0449ba16
2 files changed
+4
-4
No files matched your search
@@ -269,7 +269,7 @@ export default class extends Aview {
|
|||||||
let p1_input: HTMLInputElement = document.getElementById("player1") as HTMLInputElement;
|
let p1_input: HTMLInputElement = document.getElementById("player1") as HTMLInputElement;
|
||||||
let p2_input: HTMLInputElement = document.getElementById("player2") as HTMLInputElement;
|
let p2_input: HTMLInputElement = document.getElementById("player2") as HTMLInputElement;
|
||||||
|
|
||||||
p2_input.value = "Player 2";
|
p2_input.value = "player 2";
|
||||||
if (await isLogged())
|
if (await isLogged())
|
||||||
{
|
{
|
||||||
uuid = document.cookie.match(new RegExp('(^| )' + "uuid" + '=([^;]+)'))[2];
|
uuid = document.cookie.match(new RegExp('(^| )' + "uuid" + '=([^;]+)'))[2];
|
||||||
@@ -287,7 +287,7 @@ export default class extends Aview {
|
|||||||
p1_input.readOnly = true;
|
p1_input.readOnly = true;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
p1_input.value = "Player 1";
|
p1_input.value = "player 1";
|
||||||
|
|
||||||
document.getElementById("game-start")?.addEventListener("click", () => {
|
document.getElementById("game-start")?.addEventListener("click", () => {
|
||||||
p1_name = p1_input.value.length > 16 ? p1_input.value.substring(0, 16) + "." : p1_input.value;
|
p1_name = p1_input.value.length > 16 ? p1_input.value.substring(0, 16) + "." : p1_input.value;
|
||||||
|
|||||||
@@ -928,7 +928,7 @@ export default class extends Aview {
|
|||||||
let p1_input: HTMLInputElement = document.getElementById("player1") as HTMLInputElement;
|
let p1_input: HTMLInputElement = document.getElementById("player1") as HTMLInputElement;
|
||||||
let p2_input: HTMLInputElement = document.getElementById("player2") as HTMLInputElement;
|
let p2_input: HTMLInputElement = document.getElementById("player2") as HTMLInputElement;
|
||||||
|
|
||||||
p2_input.value = "Player 2";
|
p2_input.value = "player 2";
|
||||||
if (await isLogged())
|
if (await isLogged())
|
||||||
{
|
{
|
||||||
uuid = document.cookie.match(new RegExp('(^| )' + "uuid" + '=([^;]+)'))[2];
|
uuid = document.cookie.match(new RegExp('(^| )' + "uuid" + '=([^;]+)'))[2];
|
||||||
@@ -946,7 +946,7 @@ export default class extends Aview {
|
|||||||
p1_input.readOnly = true;
|
p1_input.readOnly = true;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
p1_input.value = "Player 1";
|
p1_input.value = "player 1";
|
||||||
|
|
||||||
document.getElementById("game-start")?.addEventListener("click", () => {
|
document.getElementById("game-start")?.addEventListener("click", () => {
|
||||||
p1_name = p1_input.value.length > 16 ? p1_input.value.substring(0, 16) + "." : p1_input.value;
|
p1_name = p1_input.value.length > 16 ? p1_input.value.substring(0, 16) + "." : p1_input.value;
|
||||||
|
|||||||
Reference in new issue
Block a user