fix delete button alt text

Signed-off-by: Arthur Lu <learthurgo@gmail.com>
This commit is contained in:
Arthur Lu 2023-01-16 15:24:24 -08:00
parent ba7a96f0eb
commit 75e77b1362

View File

@ -152,7 +152,7 @@ function addDiskLine (fieldset, busPrefix, busName, device, storage, storageOpti
deleteDiv.classList.add("last-item"); deleteDiv.classList.add("last-item");
let deleteBtn = document.createElement("img"); let deleteBtn = document.createElement("img");
deleteBtn.src = "images/actions/delete.svg"; deleteBtn.src = "images/actions/delete.svg";
deleteBtn.alt = `Config disk ${labelText}`; deleteBtn.alt = `Delete disk ${busName} ${device}`;
deleteBtn.classList.add("clickable"); deleteBtn.classList.add("clickable");
deleteDiv.append(deleteBtn); deleteDiv.append(deleteBtn);
field.append(deleteDiv); field.append(deleteDiv);