Просмотр исходного кода

Update mychannel_edit.htm

tags/6.2.0
tianya 1 год назад
Родитель
Сommit
16a95512f5
1 измененных файлов: 8 добавлений и 5 удалений
  1. +8
    -5
      src/admin/templets/mychannel_edit.htm

+ 8
- 5
src/admin/templets/mychannel_edit.htm Просмотреть файл

@@ -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');


Загрузка…
Отмена
Сохранить