fix icon alt text
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
This commit is contained in:
parent
fd8025ed32
commit
5041f7ea1c
@ -109,7 +109,7 @@ function addDiskLine (fieldset, iconHref, bus, device, storage, storageOptions,
|
|||||||
|
|
||||||
let icon = document.createElement("img");
|
let icon = document.createElement("img");
|
||||||
icon.src = iconHref;
|
icon.src = iconHref;
|
||||||
icon.alt = labelText;
|
icon.alt = `${bus} ${device}`;
|
||||||
field.append(icon);
|
field.append(icon);
|
||||||
|
|
||||||
let busLabel = document.createElement("label");
|
let busLabel = document.createElement("label");
|
||||||
|
Loading…
Reference in New Issue
Block a user