From 66a68daa4d83c705d07a29c1b1690a6319117fc5 Mon Sep 17 00:00:00 2001 From: Miodec Date: Sat, 8 Oct 2022 23:26:08 +0200 Subject: [PATCH] empty alt for custom backgrounds --- frontend/src/ts/controllers/theme-controller.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/frontend/src/ts/controllers/theme-controller.ts b/frontend/src/ts/controllers/theme-controller.ts index 0a68f0011..df6b7d272 100644 --- a/frontend/src/ts/controllers/theme-controller.ts +++ b/frontend/src/ts/controllers/theme-controller.ts @@ -291,7 +291,9 @@ export function applyCustomBackground(): void { } else { $("#words").addClass("noErrorBorder"); $("#resultWordsHistory").addClass("noErrorBorder"); - $(".customBackground").html(``); + $(".customBackground").html( + `` + ); BackgroundFilter.apply(); applyCustomBackgroundSize(); }