diff --git a/frontend/src/ts/ready.ts b/frontend/src/ts/ready.ts index 12a25d791..070ecfd71 100644 --- a/frontend/src/ts/ready.ts +++ b/frontend/src/ts/ready.ts @@ -32,7 +32,6 @@ if (Misc.isDevEnvironment()) { } void UpdateConfig.loadFromLocalStorage(); -Focus.set(true, true); $(document).ready(() => { Misc.loadCSS("/css/slimselect.min.css", true); diff --git a/frontend/src/ts/test/focus.ts b/frontend/src/ts/test/focus.ts index 539b7db5a..c60494d9e 100644 --- a/frontend/src/ts/test/focus.ts +++ b/frontend/src/ts/test/focus.ts @@ -8,6 +8,8 @@ import * as TimerProgress from "./timer-progress"; const unfocusPx = 3; let state = false; +set(true, true); + export function set(foc: boolean, withCursor = false): void { if (foc && !state) { state = true;