aboutsummaryrefslogtreecommitdiff
path: root/webAO/dom/updateIniswap.ts
diff options
context:
space:
mode:
Diffstat (limited to 'webAO/dom/updateIniswap.ts')
-rw-r--r--webAO/dom/updateIniswap.ts20
1 files changed, 9 insertions, 11 deletions
diff --git a/webAO/dom/updateIniswap.ts b/webAO/dom/updateIniswap.ts
index 5bea0f5..929d4a0 100644
--- a/webAO/dom/updateIniswap.ts
+++ b/webAO/dom/updateIniswap.ts
@@ -2,17 +2,15 @@
* Update iniswap drowdown
*/
export function updateIniswap() {
- const ini_select = <HTMLSelectElement>(
- document.getElementById("client_iniselect")
- );
- const ini_name = <HTMLInputElement>(
- document.getElementById("client_ininame")
- );
+ const ini_select = <HTMLSelectElement>(
+ document.getElementById("client_iniselect")
+ );
+ const ini_name = <HTMLInputElement>document.getElementById("client_ininame");
- if (ini_select.selectedIndex === 0) {
- ini_name.style.display = "initial";
- } else {
- ini_name.style.display = "none";
- }
+ if (ini_select.selectedIndex === 0) {
+ ini_name.style.display = "initial";
+ } else {
+ ini_name.style.display = "none";
+ }
}
window.updateIniswap = updateIniswap;