diff options
author | Robert Zorko <robertz@gurucue.com> | 2015-10-14 14:04:11 +0200 |
---|---|---|
committer | Robert Zorko <robertz@gurucue.com> | 2015-10-14 14:04:11 +0200 |
commit | 2fe1ceebd6287ed4835798c82498834102cb7e18 (patch) | |
tree | 4ab2e83c7f5d5b08389bc6626cdc205420b09398 /js/codeq/navigation.js | |
parent | 7a98e5ed234e5a7a0dc2a8e04b1ebccf7ea2fb29 (diff) |
moved the signup to its own screen (and file)
Diffstat (limited to 'js/codeq/navigation.js')
-rw-r--r-- | js/codeq/navigation.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/js/codeq/navigation.js b/js/codeq/navigation.js index dab907a..58f0cf2 100644 --- a/js/codeq/navigation.js +++ b/js/codeq/navigation.js @@ -71,7 +71,7 @@ }, 'actualTransition': function (name) { //check if we are logged in - if we aren't we will always transition to the login state - if(!codeq.comms.getSid()){ + if(!codeq.comms.getSid() && name !== "signup"){//we can of course enter the signup state even if not logged in name = 'login';//this will cause the following code to transition to the login state instead of the original one given } @@ -85,7 +85,6 @@ }; codeq.globalStateMachine = makeGlobalStateMachine({}); - //setup all the buttons in the banner $('#navigation-home').on('click', function(e){ codeq.globalStateMachine.transition('language'); |