mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-30 11:41:19 +08:00
Merge pull request #7123 from artoscinote/ma_SCI_10260
Fix MarvinJS initiaization [SCI-10260]
This commit is contained in:
commit
ec723babbd
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…
Reference in a new issue