diff --git a/app/assets/javascripts/mumuki_laboratory/application/sync-mode.js b/app/assets/javascripts/mumuki_laboratory/application/sync-mode.js index cd5ef055d..c79ce149c 100644 --- a/app/assets/javascripts/mumuki_laboratory/application/sync-mode.js +++ b/app/assets/javascripts/mumuki_laboratory/application/sync-mode.js @@ -59,12 +59,6 @@ mumuki.syncMode = (() => { } } - mumuki.load(() => { - mumuki.syncMode._selectSyncMode(); - mumuki.syncMode._current.syncProgress(); - mumuki.syncMode._current.syncEditorContent(); - }) - return { ServerSyncMode, ClientSyncMode, @@ -75,3 +69,9 @@ mumuki.syncMode = (() => { _current: null } })(); + +mumuki.load(() => { + mumuki.syncMode._selectSyncMode(); + mumuki.syncMode._current.syncProgress(); + mumuki.syncMode._current.syncEditorContent(); +})