Fix class joining when entering it in the signup field

This commit is contained in:
phoenixeliot 2016-05-10 13:08:31 -07:00
parent 35d0352a92
commit 05ae7057db

View file

@ -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()