mirror of
https://github.com/wukko/cobalt.git
synced 2025-05-14 12:27:07 +02:00
onDemand: add alt texts to historical changelogs
This commit is contained in:
parent
e807a3f2ab
commit
ca51acd5bd
@ -17,6 +17,7 @@ export function changelogHistory() { // blockId 0
|
|||||||
`<div class="changelog-banner">
|
`<div class="changelog-banner">
|
||||||
<img class="changelog-img" ` +
|
<img class="changelog-img" ` +
|
||||||
`src="${history[i]["banner"]["url"]}" ` +
|
`src="${history[i]["banner"]["url"]}" ` +
|
||||||
|
`alt="${history[i]["banner"]["alt"].replaceAll('"', '"')}" ` +
|
||||||
`width="${history[i]["banner"]["width"]}" ` +
|
`width="${history[i]["banner"]["width"]}" ` +
|
||||||
`height="${history[i]["banner"]["height"]}" ` +
|
`height="${history[i]["banner"]["height"]}" ` +
|
||||||
`onerror="this.style.opacity=0" loading="lazy">`+
|
`onerror="this.style.opacity=0" loading="lazy">`+
|
||||||
|
Loading…
x
Reference in New Issue
Block a user