mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-09-13 00:24:42 +08:00
Fix MarvinJS initiaization [SCI-10260]
This commit is contained in:
parent
a00648a80e
commit
35ce14a929
1 changed files with 1 additions and 3 deletions
|
@ -320,9 +320,7 @@ $(document).on('click', '.gene-sequence-edit-button', function() {
|
|||
});
|
||||
|
||||
function initMarvinJs() {
|
||||
if (!window.MarvinJsEditor) {
|
||||
MarvinJsEditor = MarvinJsEditorApi();
|
||||
}
|
||||
MarvinJsEditor = MarvinJsEditorApi();
|
||||
|
||||
if (MarvinJsEditor.enabled()) {
|
||||
if (typeof (ChemicalizeMarvinJs) === 'undefined') {
|
||||
|
|
Loading…
Add table
Reference in a new issue