Fix Modal
This commit is contained in:
@@ -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);
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user