mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-28 01:55:38 -05:00
Fix class joining when entering it in the signup field
This commit is contained in:
parent
35d0352a92
commit
05ae7057db
1 changed files with 5 additions and 4 deletions
|
@ -146,7 +146,8 @@ module.exports = class CreateAccountModal extends ModalView
|
|||
window.tracker?.trackEvent 'Finished Signup', category: "Signup", label: 'CodeCombat'
|
||||
if @classCode
|
||||
url = "/courses?_cc="+@classCode
|
||||
application.router.navigate(url)
|
||||
location.href = url
|
||||
else
|
||||
window.location.reload()
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue