summaryrefslogtreecommitdiff
path: root/js/codeq/python.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/codeq/python.js')
-rw-r--r--js/codeq/python.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/js/codeq/python.js b/js/codeq/python.js
index ab557e5..112d7ff 100644
--- a/js/codeq/python.js
+++ b/js/codeq/python.js
@@ -16,7 +16,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */
(function() {
"use strict";
- var jqScreen = $('#screen_python'), // the screen container element
+ var jqScreen = $('#screen-python'), // the screen container element
// quadrants
jqCode = jqScreen.find('.block2'),
jqConsole = jqScreen.find('.block3'),
@@ -32,7 +32,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */
pythonHandler; // created when we enter the python state and destroyed once we leave it
var enterFun = function(problemDef, commonDef, currentSolution) {
- $('#navigation-problem_list').css('display', '');
+ $('#navigation-problem-list').css('display', '');
var navigationPhython = $("#navigation-python");
navigationPhython.addClass("active");
navigationPhython.css('display', '');
@@ -64,7 +64,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */
pythonHandler.destroy();
pythonHandler = null;
- $('#navigation-problem_list').css('display', 'none');
+ $('#navigation-problem-list').css('display', 'none');
var navigationPhython = $("#navigation-python");
navigationPhython.removeClass("active");
navigationPhython.css('display', 'none');
@@ -223,7 +223,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */
return {
destroy: function () {
codeq.comms.endProblem().done();
- $('#screen_python .title').text('');//empty the title text
+ $('#screen-python .title').text(''); //empty the title text
jqAllButtons.off();
editor.off('change');
codeq.comms.off('terminal_output'); // stop listening for the terminal events from server