aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--webAO/client.html2
-rw-r--r--webAO/client.js9
2 files changed, 1 insertions, 10 deletions
diff --git a/webAO/client.html b/webAO/client.html
index 8f675ac..197d77e 100644
--- a/webAO/client.html
+++ b/webAO/client.html
@@ -161,7 +161,7 @@
<br>
<span id="cccc" style="display: none">
<label for="ic_chat_name">Custom Showname:</label>
- <input id="ic_chat_name" name="ic_chat_name" type="text" onchange="onShownameChange()">
+ <input id="ic_chat_name" name="ic_chat_name" type="text">
<label for="showname">Show others:</label>
<input id="showname" name="showname" type="checkbox" onclick="showname_click()">
</span>
diff --git a/webAO/client.js b/webAO/client.js
index 90561cc..b106b03 100644
--- a/webAO/client.js
+++ b/webAO/client.js
@@ -1916,15 +1916,6 @@ function setCookie(cname, value) {
}
/**
- * Triggered when the showname is changed
- * @param {KeyboardEvent} event
- */
-export function onShownameChange(event) {
- setCookie("showname",document.getElementById("client_oocinputbox").value);
-}
-window.onShownameChange = onShownameChange;
-
-/**
* Triggered when the Return key is pressed on the out-of-character chat input box.
* @param {KeyboardEvent} event
*/