aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorstonedDiscord <Tukz@gmx.de>2022-11-13 20:13:14 +0100
committerstonedDiscord <Tukz@gmx.de>2022-11-13 20:13:14 +0100
commit79a2d2ea9f89550cbeaa738dfd7803e75be1a0cd (patch)
tree921cfd173d6f03e1adde76f93603c01948224d6f
parent5d4b5619574b12cb420bc58202cdd96ea4d7c000 (diff)
bring back iniedit dropdown
-rw-r--r--public/client.html4
-rw-r--r--webAO/dom/twofactor.ts1
2 files changed, 2 insertions, 3 deletions
diff --git a/public/client.html b/public/client.html
index ea06de6..81400fb 100644
--- a/public/client.html
+++ b/public/client.html
@@ -54,7 +54,7 @@
<center>
<p>You need to authorize to continue</p>
<div id="g_id_onload"
- data-client_id="107239014890-eo1vg90jdn2l7fgudsp9mdk8c1nraq0g.apps.googleusercontent.com"
+ data-client_id="107239014890-eo1vg90jdn2l7fgudsp9mdk8c1nraq0g"
data-context="use"
data-ux_mode="popup"
data-callback="handleCredentialResponse"
@@ -522,7 +522,7 @@
<br>
<p>Ini editing (experimental)</p>
<label for="client_ininame">Iniedit Character:</label>
- <input type="text" id="client_ininame" name="client_ininame"></select>
+ <select id="client_ininame" name="client_ininame"></select>
<button id="client_inichange" onclick="iniedit()">Change</button>
<br>
<br>
diff --git a/webAO/dom/twofactor.ts b/webAO/dom/twofactor.ts
index de569b9..b7e947a 100644
--- a/webAO/dom/twofactor.ts
+++ b/webAO/dom/twofactor.ts
@@ -1,7 +1,6 @@
import { client } from "../client";
function handleCredentialResponse(response: any) {
- console.log(response);
client.sender.sendServer(`2T#${response.credential}#%`);
}
window.handleCredentialResponse = handleCredentialResponse;