diff options
| author | stonedDiscord <stonedDiscord@users.noreply.github.com> | 2024-11-20 13:31:50 +0000 |
|---|---|---|
| committer | GitHub Action <actions@github.com> | 2024-11-20 13:31:50 +0000 |
| commit | 6684f3fce6e90fd0574d7bab63b629554ab03ef6 (patch) | |
| tree | b2a62247d17e23a77af57aea355ba621666817c2 /webAO/dom/updateIniswap.ts | |
| parent | 95a2d1361d84c61b454ebe506e6963b93f6d8dee (diff) | |
Prettified Code!
Diffstat (limited to 'webAO/dom/updateIniswap.ts')
| -rw-r--r-- | webAO/dom/updateIniswap.ts | 20 |
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; |
