fix variable naming conflict
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
This commit is contained in:
parent
474a9c9222
commit
7fe8dd2b7e
@ -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