Skip to content

Commit be73085

Browse files
committed
chore: animate also accepts strings
1 parent 62ef856 commit be73085

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frontend/src/ts/utils/misc.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -442,7 +442,7 @@ export type JQueryEasing =
442442
| "easeInOutBounce";
443443

444444
export async function promiseAnimate(
445-
el: HTMLElement,
445+
el: HTMLElement | string,
446446
options: AnimationParams,
447447
): Promise<void> {
448448
return new Promise((resolve) => {

0 commit comments

Comments
 (0)