mirror of
https://github.com/chinchang/web-maker.git
synced 2025-05-15 22:59:41 +02:00
fix reading of keymap setting
This commit is contained in:
parent
ea5d1872db
commit
c31c9dd948
@ -1230,7 +1230,7 @@ onboardDontShowInTabOptionBtn, TextareaAutoComplete, savedItemCountEl */
|
|||||||
// Replace correct css file in LINK tags's href
|
// Replace correct css file in LINK tags's href
|
||||||
editorThemeLinkTag.href = '/lib/codemirror/theme/' + prefs.editorTheme + '.css';
|
editorThemeLinkTag.href = '/lib/codemirror/theme/' + prefs.editorTheme + '.css';
|
||||||
|
|
||||||
scope.cm[type].setOption('keyMap', $('[data-setting=keymap]').value);
|
scope.cm[type].setOption('keyMap', $('[data-setting=keymap]:checked').value);
|
||||||
scope.cm[type].refresh();
|
scope.cm[type].refresh();
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user