fix delete button alt text
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
This commit is contained in:
parent
14ee712d3c
commit
a2b4dcd985
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user