aboutsummaryrefslogtreecommitdiff
path: root/webAO/client
diff options
context:
space:
mode:
authorstonedDiscord <Tukz@gmx.de>2023-12-21 01:40:38 +0100
committerstonedDiscord <Tukz@gmx.de>2023-12-21 01:40:38 +0100
commit9422827df1cd293a37bdc3c58b0f920dbfec54ec (patch)
tree44598ada8bde27552482f89eec9e9b586d99e097 /webAO/client
parent965e3e937065511fe9052ac687f54c1528a1e043 (diff)
Revert "Merge pull request #212 from Troid-Tech/searchable-pairing-partner"
This reverts commit 965e3e937065511fe9052ac687f54c1528a1e043, reversing changes made to b288429cca94a461c8fa3d1936905d7e0e601d7f.
Diffstat (limited to 'webAO/client')
-rw-r--r--webAO/client/handleCharacterInfo.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/webAO/client/handleCharacterInfo.ts b/webAO/client/handleCharacterInfo.ts
index 72dd727..9d74a8b 100644
--- a/webAO/client/handleCharacterInfo.ts
+++ b/webAO/client/handleCharacterInfo.ts
@@ -51,10 +51,10 @@ export const handleCharacterInfo = async (chargs: string[], charid: number) => {
document.getElementById("mute_select")
);
mute_select.add(new Option(safeTags(chargs[0]), String(charid)));
- const pair_select = <HTMLDataListElement>(
+ const pair_select = <HTMLSelectElement>(
document.getElementById("pair_select")
);
- pair_select.appendChild(new Option(safeTags(chargs[0]), String(charid)));
+ pair_select.add(new Option(safeTags(chargs[0]), String(charid)));
// sometimes ini files lack important settings
const default_options = {
@@ -102,4 +102,4 @@ export const handleCharacterInfo = async (chargs: string[], charid: number) => {
console.warn(`missing charid ${charid}`);
img.style.display = "none";
}
-}
+} \ No newline at end of file