fix another variable name conflict

This commit is contained in:
Arthur Lu 2023-01-08 20:28:50 -08:00
parent bbc4286297
commit f0d4ca3f7a

View File

@ -65,7 +65,7 @@ function addResourceLine (fieldset, iconHref, labelText, inputAttr, unitText=nul
} }
} }
function addDiskLine (fieldset, id, iconHref, labelText, value) { function addDiskLine (fieldset, id, iconHref, labelText, valueText) {
let field = document.querySelector(`#${fieldset}`); let field = document.querySelector(`#${fieldset}`);
let icon = document.createElement("img"); let icon = document.createElement("img");
@ -77,6 +77,6 @@ function addDiskLine (fieldset, id, iconHref, labelText, value) {
field.append(label); field.append(label);
let value = document.createElement("p"); let value = document.createElement("p");
value.innerText = value; value.innerText = valueText;
field.append(value); field.append(value);
} }