summaryrefslogtreecommitdiff
path: root/js/codeq/robot.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/codeq/robot.js')
-rw-r--r--js/codeq/robot.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/js/codeq/robot.js b/js/codeq/robot.js
index 43bfb12..3e561a1 100644
--- a/js/codeq/robot.js
+++ b/js/codeq/robot.js
@@ -16,7 +16,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */
(function() {
"use strict";
- var jqScreen = $('#screen_robot'), // the screen container element
+ var jqScreen = $('#screen-robot'), // 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/>. */
robotHandler;
var enterFun = function(problemDef, commonDef, currentSolution) {
- $('#navigation-problem_list').css('display', '');
+ $('#navigation-problem-list').css('display', '');
var navigationRobot = $("#navigation-robot");
navigationRobot.addClass("active");
navigationRobot.css('display', '');
@@ -65,7 +65,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */
robotHandler.destroy();
robotHandler = null;
- $('#navigation-problem_list').css('display', 'none');
+ $('#navigation-problem-list').css('display', 'none');
var navigationRobot = $("#navigation-robot");
navigationRobot.removeClass("active");
navigationRobot.css('display', 'none');
@@ -223,7 +223,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */
reconnectTimer = null;
}
- $('#screen_robot .title').text('');//empty the title text
+ $('#screen-robot .title').text(''); //empty the title text
jqAllButtons.off();
editor.off('change');
activityHandler.queueTrace({'typ': 'close'});