diff options
author | Timotej Lazar <timotej.lazar@araneo.org> | 2015-10-06 18:32:42 +0200 |
---|---|---|
committer | Timotej Lazar <timotej.lazar@araneo.org> | 2015-10-06 18:32:42 +0200 |
commit | 0b2485f393bcc47dcf895044c410b2c8784af432 (patch) | |
tree | c47ce3db5e8ff35dccfe714b6c0635c01f07ee6d /js/codeq/navigation.js | |
parent | 3f699e7460fb79bb0b48077dddc3359ee4b974c1 (diff) |
Rename state 'problem' to problem_list
Remove the Language element from the navbar and have "CodeQ" (logo TBD)
send user to the language-selection page.
Diffstat (limited to 'js/codeq/navigation.js')
-rw-r--r-- | js/codeq/navigation.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/js/codeq/navigation.js b/js/codeq/navigation.js index a1b8f3d..eafa5cc 100644 --- a/js/codeq/navigation.js +++ b/js/codeq/navigation.js @@ -81,12 +81,12 @@ //setup all the buttons in the banner - $('#navigation-language').on('click', function(e){ + $('#navigation-home').on('click', function(e){ codeq.globalStateMachine.transition('language'); e.preventDefault(); }); - $('#navigation-problem').on('click', function(e){ - codeq.globalStateMachine.transition('problem'); + $('#navigation-problem_list').on('click', function(e){ + codeq.globalStateMachine.transition('problem_list'); e.preventDefault(); }); $('#navigation-python').on('click', function(e){ |