mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-18 02:01:22 +01:00
ice edito, change to new byId
This commit is contained in:
parent
21abd9efd5
commit
b4b7ee00c1
1 changed files with 1 additions and 1 deletions
|
|
@ -21,7 +21,7 @@ export function open() {
|
|||
const type = elSelected.attr("type") ? "Glacier" : "Iceberg";
|
||||
if (byId("iceRandomize")) byId("iceRandomize")!.style.display = type === "Glacier" ? "none" : "inline-block";
|
||||
|
||||
const $iceSize = byId("iceSize") as HTMLInputElement;
|
||||
const $iceSize = byId<'input'>("iceSize");
|
||||
if ($iceSize) {
|
||||
$iceSize.style.display = type === "Glacier" ? "none" : "inline-block";
|
||||
if (type === "Iceberg") $iceSize.value = elSelected.attr("size");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue