From 7fc5b9da3eab23ffbcc82f031f842372d9b649f6 Mon Sep 17 00:00:00 2001 From: Omkar Yadav Date: Fri, 21 Feb 2020 18:51:11 +0400 Subject: [PATCH] added redirect to account page --- src/welcome/index.ftl | 2 ++ src/welcome/index.ts | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/src/welcome/index.ftl b/src/welcome/index.ftl index 299de9e..fa704d3 100644 --- a/src/welcome/index.ftl +++ b/src/welcome/index.ftl @@ -9,6 +9,7 @@ + <#if properties.styles?has_content> <#list properties.styles?split(' ') as style> @@ -20,6 +21,7 @@
diff --git a/src/welcome/index.ts b/src/welcome/index.ts index e69de29..ddbf5fc 100644 --- a/src/welcome/index.ts +++ b/src/welcome/index.ts @@ -0,0 +1,4 @@ +document.addEventListener('load', () => { + const redirectButton = document.getElementById('redirect-button'); + redirectButton.click(); +});