mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-03-10 22:53:06 +08:00
Fix error on new step saving command (#1845)
This commit is contained in:
parent
5734d0cdd7
commit
609c408c77
1 changed files with 2 additions and 3 deletions
|
@ -504,10 +504,9 @@
|
|||
$('#new-step-main-tab a')
|
||||
.on('shown.bs.tab', function() {
|
||||
$('#step_name').focus();
|
||||
TinyMCE.init('#step_description_textarea');
|
||||
}).on('hidden.bs.tab', function() {
|
||||
tinyMCE.editors.step_description_textarea.remove();
|
||||
});
|
||||
TinyMCE.init('#step_description_textarea');
|
||||
})
|
||||
|
||||
TinyMCE.init('#step_description_textarea');
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue