summaryrefslogtreecommitdiff
path: root/js/codeq/settings.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/codeq/settings.js')
-rw-r--r--js/codeq/settings.js18
1 files changed, 9 insertions, 9 deletions
diff --git a/js/codeq/settings.js b/js/codeq/settings.js
index 1f35abf..e6b8fce 100644
--- a/js/codeq/settings.js
+++ b/js/codeq/settings.js
@@ -22,18 +22,18 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */
(function(){
"use strict";
var navigationSettings = $('#navigation-settings'),
- guiLangSelect = $('#gui_lang_select'),
- robotAddressInput = $('#robot_address_input'),
+ guiLangSelect = $('#settings-gui-lang'),
+ robotAddressInput = $('#settings-robot-address'),
jqDisabledOverlay = $('#disabled'),
- jqSettForm = $("#settingsForm"),
- jqSettCancelBtn = $("#settings_cancel_btn"),
- jqScreenSettings = $('#screen_settings'),
- jqLayoutSelect = $('#gui_layout_select');
+ jqSettForm = $("#settings-form"),
+ jqSettCancelBtn = $("#settings-cancel"),
+ jqScreenSettings = $('#screen-settings'),
+ jqLayoutSelect = $('#settings-layout');
codeq.on('layoutchange', function(){
- $("#screen_prolog").removeClass(codeq.supportedLayouts.join(" ")).addClass(codeq.getLayout());
- $("#screen_python").removeClass(codeq.supportedLayouts.join(" ")).addClass(codeq.getLayout());
- $("#screen_robot").removeClass(codeq.supportedLayouts.join(" ")).addClass(codeq.getLayout());
+ $("#screen-prolog").removeClass(codeq.supportedLayouts.join(" ")).addClass(codeq.getLayout());
+ $("#screen-python").removeClass(codeq.supportedLayouts.join(" ")).addClass(codeq.getLayout());
+ $("#screen-robot").removeClass(codeq.supportedLayouts.join(" ")).addClass(codeq.getLayout());
});
codeq.globalStateMachine.register('settings',{