From be73085b2a2863e2ae30a0df57b236f5adbfb1ea Mon Sep 17 00:00:00 2001 From: Miodec Date: Fri, 28 Nov 2025 21:41:46 +0100 Subject: [PATCH] chore: animate also accepts strings --- frontend/src/ts/utils/misc.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/ts/utils/misc.ts b/frontend/src/ts/utils/misc.ts index 9d4c26c8b..f134d4208 100644 --- a/frontend/src/ts/utils/misc.ts +++ b/frontend/src/ts/utils/misc.ts @@ -442,7 +442,7 @@ export type JQueryEasing = | "easeInOutBounce"; export async function promiseAnimate( - el: HTMLElement, + el: HTMLElement | string, options: AnimationParams, ): Promise { return new Promise((resolve) => {