From 274017806f454dee0cb76f279c8fbd4b5b27e26b Mon Sep 17 00:00:00 2001 From: Jacob Levine Date: Thu, 7 Mar 2019 23:37:54 -0600 Subject: [PATCH] sets timeout for reload --- website/public/scout/scripts.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/website/public/scout/scripts.js b/website/public/scout/scripts.js index b335f379..284c78c7 100644 --- a/website/public/scout/scripts.js +++ b/website/public/scout/scripts.js @@ -123,6 +123,7 @@ function subRes() { ).then(function() { alert('Submitted!') - window.location.href = '../scout' + setTimeout(function(){ window.location.href = '../scout'; }, 500); + }) }