From 9eb9da9a66c287f72b708cdc0700d28c6a14093f Mon Sep 17 00:00:00 2001 From: Timotej Lazar Date: Wed, 2 Mar 2016 17:16:11 +0100 Subject: More CSS cleanups --- js/codeq/editor.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'js/codeq/editor.js') diff --git a/js/codeq/editor.js b/js/codeq/editor.js index 157c70e..478e461 100644 --- a/js/codeq/editor.js +++ b/js/codeq/editor.js @@ -1,5 +1,5 @@ /* CodeQ: an online programming tutor. - Copyright (C) 2015 UL FRI + Copyright (C) 2015,2016 UL FRI This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free @@ -16,7 +16,7 @@ along with this program. If not, see . */ codeq.makeEditor = function (elt, options, onEscape) { "use strict"; - var statusBar = $(elt).siblings(".block-statusbar")[0], + var statusBar = $(elt).siblings(".statusbar")[0], updateStatusBar = function (pos) { statusBar.innerHTML = 'line ' + (pos.line+1) + ', column ' + (pos.ch+1); }, -- cgit v1.2.1