mirror of
https://github.com/imputnet/cobalt.git
synced 2025-01-21 06:01:40 +00: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">
|
||||
<img class="changelog-img" ` +
|
||||
`src="${history[i]["banner"]["url"]}" ` +
|
||||
`alt="${history[i]["banner"]["alt"].replaceAll('"', '"')}" ` +
|
||||
`width="${history[i]["banner"]["width"]}" ` +
|
||||
`height="${history[i]["banner"]["height"]}" ` +
|
||||
`onerror="this.style.opacity=0" loading="lazy">`+
|
||||
|
|
Loading…
Reference in a new issue