summaryrefslogtreecommitdiff
path: root/js/codeq/robot.js
diff options
context:
space:
mode:
authorTimotej Lazar <timotej.lazar@araneo.org>2015-10-06 18:32:42 +0200
committerTimotej Lazar <timotej.lazar@araneo.org>2015-10-06 18:32:42 +0200
commit0b2485f393bcc47dcf895044c410b2c8784af432 (patch)
treec47ce3db5e8ff35dccfe714b6c0635c01f07ee6d /js/codeq/robot.js
parent3f699e7460fb79bb0b48077dddc3359ee4b974c1 (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/robot.js')
-rw-r--r--js/codeq/robot.js6
1 files changed, 2 insertions, 4 deletions
diff --git a/js/codeq/robot.js b/js/codeq/robot.js
index 5d86559..1188c7f 100644
--- a/js/codeq/robot.js
+++ b/js/codeq/robot.js
@@ -67,8 +67,7 @@
var robotHandler; //created when we enter the robot state and destroyed once we leave it
codeq.globalStateMachine.register('robot', {
'enter': function (problemDef, commonDef, currentSolution) {
- $('#navigation-language').css('display', '');
- $('#navigation-problem').css('display', '');
+ $('#navigation-problem_list').css('display', '');
$("#navigation-robot").addClass("active");
$('#navigation-robot').css('display', '');
@@ -103,8 +102,7 @@
subScreens = null;
jqScreen.addClass('block1');
- $('#navigation-language').css('display', 'none');
- $('#navigation-problem').css('display', 'none');
+ $('#navigation-problem_list').css('display', 'none');
$("#navigation-robot").removeClass("active");
$('#navigation-robot').css('display', 'none');
}