We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 36dcfe2 commit 83a34c6Copy full SHA for 83a34c6
frontend/src/ts/test/focus.ts
@@ -14,9 +14,11 @@ export function set(foc: boolean, withCursor = false): void {
14
Caret.stopAnimation();
15
$("header").addClass("focus");
16
$("footer").addClass("focus");
17
- if (!withCursor) $("body").css("cursor", "none");
18
- $("button").css("cursor", "none");
19
- $("a").css("cursor", "none");
+ if (!withCursor) {
+ $("body").css("cursor", "none");
+ $("button").css("cursor", "none");
20
+ $("a").css("cursor", "none");
21
+ }
22
$("main").addClass("focus");
23
$("#bannerCenter").addClass("focus");
24
$("#notificationCenter").addClass("focus");
0 commit comments