diff --git a/frontend/templates/registration/registration_base.html b/frontend/templates/registration/registration_base.html index 62882f39..01cc28ee 100644 --- a/frontend/templates/registration/registration_base.html +++ b/frontend/templates/registration/registration_base.html @@ -21,7 +21,8 @@ $j(document).ready(function() { next = next.replace(/[\x22\x27\x3c\x3e]/g,''); $j.cookie('next', next, {path: '/'}); } else if(saved_next!=null){ - $j('#link-to-next').html(" Click to continue after logging in..."); + var do_next = $j('#link-to-next'); + if (do_next.length) window.location.replace(saved_next); } });