diff options
| author | sD <stoned@derpymail.org> | 2020-04-11 21:51:05 +0200 |
|---|---|---|
| committer | sD <stoned@derpymail.org> | 2020-04-11 21:51:05 +0200 |
| commit | 13df07b8d246c18de314e6b7f61c646214098746 (patch) | |
| tree | 82817da23f0d1b0f0514932f5f43491189fc81a3 /webAO | |
| parent | 8c7a70d5b38a922bd9a18e7ea922c3e4e5fc6c57 (diff) | |
Revert "set the showname from the cookie"
This reverts commit 8c7a70d5b38a922bd9a18e7ea922c3e4e5fc6c57.
Diffstat (limited to 'webAO')
| -rw-r--r-- | webAO/client.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/webAO/client.js b/webAO/client.js index 1385c08..90561cc 100644 --- a/webAO/client.js +++ b/webAO/client.js @@ -387,7 +387,6 @@ class Client extends EventEmitter { // Read cookies and set the UI to its values document.getElementById("OOC_name").value = getCookie("OOC_name") || "web"+parseInt(Math.random()*100+10); - document.getElementById("ic_chat_name").value = getCookie("showname") || ""; // Read cookies and set the UI to its values var cookietheme = getCookie("theme") || "default"; @@ -1921,7 +1920,7 @@ function setCookie(cname, value) { * @param {KeyboardEvent} event */ export function onShownameChange(event) { - setCookie("showname",document.getElementById("ic_chat_name").value); + setCookie("showname",document.getElementById("client_oocinputbox").value); } window.onShownameChange = onShownameChange; |
