summaryrefslogtreecommitdiff
path: root/js/codeq/python.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/python.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/python.js')
-rw-r--r--js/codeq/python.js6
1 files changed, 2 insertions, 4 deletions
diff --git a/js/codeq/python.js b/js/codeq/python.js
index c3a76b9..35c4be8 100644
--- a/js/codeq/python.js
+++ b/js/codeq/python.js
@@ -72,8 +72,7 @@
var pythonHandler; //created when we enter the python state and destroyed once we leave it
codeq.globalStateMachine.register('python', {
'enter': function (problemDef, commonDef, currentSolution) {
- $('#navigation-language').css('display', '');
- $('#navigation-problem').css('display', '');
+ $('#navigation-problem_list').css('display', '');
$("#navigation-python").addClass("active");
$('#navigation-python').css('display', '');
@@ -108,8 +107,7 @@
subScreens = null;
jqScreen.addClass('block1');
- $('#navigation-language').css('display', 'none');
- $('#navigation-problem').css('display', 'none');
+ $('#navigation-problem_list').css('display', 'none');
$("#navigation-python").removeClass("active");
$('#navigation-python').css('display', 'none');
}