Fix Modal

This commit is contained in:
2024-12-08 17:21:17 +01:00
parent e93445d933
commit d4ac123654
2 changed files with 10 additions and 2 deletions

View File

@@ -23,4 +23,11 @@ export function window<T>(arr: T[], len: number): T[][] {
result.push(arr.slice(i, i + len));
}
return result;
}
export function stopPropagation(a: any) {
return (e: Event) => {
e.stopPropagation();
a(e);
};
}