fix icon alt again
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
This commit is contained in:
parent
9c37a9e562
commit
ea06755a1e
@ -109,7 +109,7 @@ function addDiskLine (fieldset, busPrefix, busName, device, storage, storageOpti
|
|||||||
|
|
||||||
let icon = document.createElement("img");
|
let icon = document.createElement("img");
|
||||||
icon.src = diskConfig[type][busPrefix].icon;
|
icon.src = diskConfig[type][busPrefix].icon;
|
||||||
icon.alt = `${bus} ${device}`;
|
icon.alt = `${busName} ${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