Skip to content
Snippets Groups Projects

changed overlay to display account certification successful

Merged Krish Moodbidri requested to merge krish94/self-reg-form:feat-certify-overlay into master
1 file
+ 6
3
Compare changes
  • Side-by-side
  • Inline
@@ -21,9 +21,12 @@
@@ -21,9 +21,12 @@
});
});
socket.on( 'certified', function( msg ) {
socket.on( 'certified', function( msg ) {
$('#myModal2').modal('hide');
$('#myModal2 .modal-title').text("Account Certification Successful");
window.location.replace('{{ referrer }}');
$('#myModal2 .modal-body').text("Redirecting...");
});
setTimeout(() => {
 
window.location.replace('{{ referrer }}');
 
}, 5000);
 
});
socket.on( 'certify error', function( msg ) {
socket.on( 'certify error', function( msg ) {
console.log(msg);
console.log(msg);
Loading