From 67b95362619e1b0dbda0afd27cf46f91ddbbd815 Mon Sep 17 00:00:00 2001 From: Matteo Manzinello Date: Fri, 24 Apr 2020 12:14:26 +0200 Subject: [PATCH] working on a new mailgo... --- src/mailgo.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/mailgo.ts b/src/mailgo.ts index 6096cb1..1b02ea8 100644 --- a/src/mailgo.ts +++ b/src/mailgo.ts @@ -839,8 +839,10 @@ const mailgo = () => { })(); }; +// if mailgo is included as a script if (window && typeof window !== "undefined") { mailgo(); } +// export mailgo export default mailgo();