1
0
mirror of https://github.com/chinchang/web-maker.git synced 2025-07-14 10:36:19 +02:00

fix keymap radio btns

This commit is contained in:
Kushagra Gour
2017-03-07 10:06:24 +05:30
parent 403a078a3e
commit 8984ae9049

View File

@ -1143,7 +1143,7 @@ onboardDontShowInTabOptionBtn, TextareaAutoComplete */
$('[data-setting=indentWith][value=' + (prefs.indentWith || 'spaces') + ']').checked = true; $('[data-setting=indentWith][value=' + (prefs.indentWith || 'spaces') + ']').checked = true;
$('[data-setting=isCodeBlastOn]').checked = prefs.isCodeBlastOn; $('[data-setting=isCodeBlastOn]').checked = prefs.isCodeBlastOn;
$('[data-setting=editorTheme]').value = prefs.editorTheme; $('[data-setting=editorTheme]').value = prefs.editorTheme;
$('[data-setting=keymap]').value = prefs.keymap; $('[data-setting=keymap][value=' + (prefs.keymap || 'sublime') + ']').checked = true;
} }
scope.updateSetting = function updateSetting(e) { scope.updateSetting = function updateSetting(e) {