empty alt for custom backgrounds

This commit is contained in:
Miodec 2022-10-08 23:26:08 +02:00
parent c437965da1
commit 66a68daa4d

View file

@ -291,7 +291,9 @@ export function applyCustomBackground(): void {
} else {
$("#words").addClass("noErrorBorder");
$("#resultWordsHistory").addClass("noErrorBorder");
$(".customBackground").html(`<img src="${Config.customBackground}" />`);
$(".customBackground").html(
`<img src="${Config.customBackground}" alt="" />`
);
BackgroundFilter.apply();
applyCustomBackgroundSize();
}