fix variable naming conflict
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
This commit is contained in:
parent
eaf51064ac
commit
299f60a878
@ -149,12 +149,12 @@ function addDiskLine (fieldset, busPrefix, busName, device, storage, storageOpti
|
|||||||
}
|
}
|
||||||
field.append(sizeInput);
|
field.append(sizeInput);
|
||||||
|
|
||||||
let sizeUnit = document.createElement("select");
|
let sizeUnitSelect = document.createElement("select");
|
||||||
sizeUnitOptions.forEach((element) => {
|
sizeUnitOptions.forEach((element) => {
|
||||||
sizeUnit.add(new Option(element));
|
sizeUnitSelect.add(new Option(element));
|
||||||
});
|
});
|
||||||
sizeUnit.value = sizeUnit;
|
sizeUnitSelect.value = sizeUnit;
|
||||||
field.append(sizeUnit);
|
field.append(sizeUnitSelect);
|
||||||
|
|
||||||
let deleteDiv = document.createElement("div");
|
let deleteDiv = document.createElement("div");
|
||||||
deleteDiv.classList.add("last-item");
|
deleteDiv.classList.add("last-item");
|
||||||
|
Loading…
Reference in New Issue
Block a user