Browse Source

Update mychannel_edit.htm

tags/6.2.0
tianya 1 year ago
parent
commit
16a95512f5
1 changed files with 8 additions and 5 deletions
  1. +8
    -5
      src/admin/templets/mychannel_edit.htm

+ 8
- 5
src/admin/templets/mychannel_edit.htm View File

@@ -45,13 +45,16 @@
ShowObj('head1'); ShowObj('needset');
HideObj('head2'); HideObj('adset');
}
var editor = null;
function ShowItem2() {
setTimeout(() => {
var editor = CodeMirror.fromTextArea(document.getElementById('fieldset'), {
lineNumbers: true,
lineWrapping: true,
mode: 'text/html'
});
if (!editor) {
editor = CodeMirror.fromTextArea(document.getElementById('fieldset'), {
lineNumbers: true,
lineWrapping: true,
mode: 'text/html'
});
}
}, 100);
ShowObj('head2'); ShowObj('adset');
HideObj('head1'); HideObj('needset');


Loading…
Cancel
Save