focus code on opening usercss editor
This commit is contained in:
parent
8517e392fe
commit
8ca7c36380
|
@ -49,6 +49,7 @@ function createSourceEditor(style) {
|
||||||
const cm = CodeMirror.fromTextArea($('#sections textarea'));
|
const cm = CodeMirror.fromTextArea($('#sections textarea'));
|
||||||
// too many functions depend on this global
|
// too many functions depend on this global
|
||||||
editors.push(cm);
|
editors.push(cm);
|
||||||
|
cm.focus();
|
||||||
|
|
||||||
// draw metas info
|
// draw metas info
|
||||||
updateMeta();
|
updateMeta();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user