diff options
Diffstat (limited to 'js/codeq/prolog.js')
-rw-r--r-- | js/codeq/prolog.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/js/codeq/prolog.js b/js/codeq/prolog.js index 111ea68..0d2f9d5 100644 --- a/js/codeq/prolog.js +++ b/js/codeq/prolog.js @@ -16,7 +16,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */ (function() { "use strict"; - var jqScreen = $('#screen_prolog'), // the screen container element + var jqScreen = $('#screen-prolog'), // the screen container element // quadrants jqCode = jqScreen.find('.block2'), jqConsole = jqScreen.find('.block3'), @@ -29,7 +29,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */ prologHandler; var enterFun = function(problemDef, commonDef, currentSolution) { - $('#navigation-problem_list').css('display', ''); + $('#navigation-problem-list').css('display', ''); var navigationProlog = $("#navigation-prolog"); navigationProlog.addClass("active"); navigationProlog.css('display', ''); @@ -61,7 +61,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */ prologHandler.destroy(); prologHandler = null; - $('#navigation-problem_list').css('display', 'none'); + $('#navigation-problem-list').css('display', 'none'); var navigationProlog = $("#navigation-prolog"); navigationProlog.removeClass("active"); navigationProlog.css('display', 'none'); @@ -260,7 +260,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */ return { destroy: function () { codeq.comms.endProblem().done(); - $('#screen_prolog .title').text('');//empty the title text + $('#screen-prolog .title').text(''); //empty the title text jqAllButtons.off(); editor.off('change'); activityHandler.queueTrace({'typ': 'close'}); |