aboutsummaryrefslogtreecommitdiff
path: root/webAO/client.js
diff options
context:
space:
mode:
authorsD <stoned@derpymail.org>2019-12-21 18:04:28 +0100
committersD <stoned@derpymail.org>2019-12-21 18:04:28 +0100
commit0db57eb3e94aa77b45e957516770cd00115b84b4 (patch)
tree7ff3987c51e3de23842d33c30c1b8e6f6a47200a /webAO/client.js
parentd76123f3745fafad75450eea84b37fa4d3697312 (diff)
add pairing ui
Diffstat (limited to 'webAO/client.js')
-rw-r--r--webAO/client.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/webAO/client.js b/webAO/client.js
index 9fc169a..6437df7 100644
--- a/webAO/client.js
+++ b/webAO/client.js
@@ -562,6 +562,11 @@ class Client extends EventEmitter {
// If it does, give the user a visual indication that the character is unusable
}
+ const mute_select = document.getElementById("mute_select");
+ mute_select.add(new Option(escape(chargs[0]), charid));
+ const pair_select = document.getElementById("pair_select");
+ pair_select.add(new Option(escape(chargs[0]), charid));
+
// sometimes ini files lack important settings
const default_options = {
name: chargs[0],
@@ -891,6 +896,7 @@ class Client extends EventEmitter {
if (args.includes("cccc_ic_support")) {
document.getElementById("cccc").style.display = "";
+ document.getElementById("pairing").style.display = "";
}
}