{title}
diff --git a/src/components/util.ts b/src/components/util.ts
index 9259500..2a18b93 100644
--- a/src/components/util.ts
+++ b/src/components/util.ts
@@ -23,4 +23,11 @@ export function window
(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);
+ };
}
\ No newline at end of file