From 05ae7057dbce25f176c02a0910229409fbfbe101 Mon Sep 17 00:00:00 2001 From: phoenixeliot Date: Tue, 10 May 2016 13:08:31 -0700 Subject: [PATCH] Fix class joining when entering it in the signup field --- app/views/core/CreateAccountModal.coffee | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/app/views/core/CreateAccountModal.coffee b/app/views/core/CreateAccountModal.coffee index babb8433b..917b6e6d1 100644 --- a/app/views/core/CreateAccountModal.coffee +++ b/app/views/core/CreateAccountModal.coffee @@ -146,10 +146,11 @@ 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) - window.location.reload() - - + location.href = url + else + window.location.reload() + + # Google Plus onClickGPlusSignupButton: ->