diff --git a/app/assets/javascripts/sitewide/marvinjs_editor.js b/app/assets/javascripts/sitewide/marvinjs_editor.js index c760546b5..5b6e3e2ac 100644 --- a/app/assets/javascripts/sitewide/marvinjs_editor.js +++ b/app/assets/javascripts/sitewide/marvinjs_editor.js @@ -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') {