From 4c48f108438beed3158dcd335f09747f5db3c978 Mon Sep 17 00:00:00 2001 From: Krish M <krish94@uab.edu> Date: Thu, 19 May 2022 16:27:52 -0500 Subject: [PATCH] changed overlay to display account certification successful --- app/templates/account/certify.html | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/app/templates/account/certify.html b/app/templates/account/certify.html index c894eea..f13830a 100644 --- a/app/templates/account/certify.html +++ b/app/templates/account/certify.html @@ -21,9 +21,12 @@ }); socket.on( 'certified', function( msg ) { - $('#myModal2').modal('hide'); - window.location.replace('{{ referrer }}'); - }); + $('#myModal2 .modal-title').text("Account Certification Successful"); + $('#myModal2 .modal-body').text("Redirecting..."); + setTimeout(() => { + window.location.replace('{{ referrer }}'); + }, 5000); + }); socket.on( 'certify error', function( msg ) { console.log(msg); -- GitLab