From 51a5febae5e692e4ea8662015e7a54badb6fb6a5 Mon Sep 17 00:00:00 2001 From: Miodec Date: Wed, 27 Apr 2022 20:38:29 +0200 Subject: [PATCH] focusing words after closing cookie popup closes #2888 --- frontend/src/ts/popups/cookie-popup.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/frontend/src/ts/popups/cookie-popup.ts b/frontend/src/ts/popups/cookie-popup.ts index 7ad53a929..018d69b93 100644 --- a/frontend/src/ts/popups/cookie-popup.ts +++ b/frontend/src/ts/popups/cookie-popup.ts @@ -1,4 +1,5 @@ import { activateAnalytics } from "../controllers/analytics-controller"; +import { focusWords } from "../test/test-ui"; type Accepted = { security: boolean; @@ -38,6 +39,7 @@ export function show(): void { export async function hide(): Promise { if (!$("#cookiePopupWrapper").hasClass("hidden")) { + focusWords(); $("#cookiePopupWrapper") .stop(true, true) .css("opacity", 1)