From ea06755a1ef5e20e428c061c6e1f44dfbb0667e0 Mon Sep 17 00:00:00 2001 From: Arthur Lu Date: Mon, 16 Jan 2023 15:13:17 -0800 Subject: [PATCH] fix icon alt again Signed-off-by: Arthur Lu --- scripts/config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/config.js b/scripts/config.js index 9a87351..1a5d1c1 100644 --- a/scripts/config.js +++ b/scripts/config.js @@ -109,7 +109,7 @@ function addDiskLine (fieldset, busPrefix, busName, device, storage, storageOpti let icon = document.createElement("img"); icon.src = diskConfig[type][busPrefix].icon; - icon.alt = `${bus} ${device}`; + icon.alt = `${busName} ${device}`; field.append(icon); let busLabel = document.createElement("label");