From b5e71b925f0348aafaab20786cb676bd10c504fe Mon Sep 17 00:00:00 2001 From: Etinosa Obaseki Date: Sat, 5 Dec 2020 19:30:50 +0000 Subject: [PATCH] Add back buttons --- index.html | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/index.html b/index.html index 9da8cfa..39d3f78 100644 --- a/index.html +++ b/index.html @@ -68,7 +68,7 @@ margin-bottom: 5px; } - input[type="text"], input[type="email"] { + input[type="text"], input[type="email"], input[type="url"] { padding: 7px 15px; border-radius: 5px; background: transparent; @@ -113,7 +113,7 @@

Tools for your Paystack Storefront

Enter your Paystack Storefront URL

- +
@@ -123,7 +123,7 @@

Enter your Paystack Storefront URL

Enter your custom domain

- +
@@ -219,5 +219,15 @@

Please wait while we set things up...

provisionStorefront(); }); + + $("#backToStoreURL").addEventListener("click", (event) => { + event.preventDefault(); + navigateTo(ROUTES.STORE_URL); + }) + + $("#backToCustomDomain").addEventListener("click", (event) => { + event.preventDefault(); + navigateTo(ROUTES.STORE_URL); + }) \ No newline at end of file