diff --git a/app/assets/javascripts/channels/synchronized_editor_channel.js b/app/assets/javascripts/channels/synchronized_editor_channel.js index e6351621..6f909328 100644 --- a/app/assets/javascripts/channels/synchronized_editor_channel.js +++ b/app/assets/javascripts/channels/synchronized_editor_channel.js @@ -1,8 +1,8 @@ $(document).on('turbolinks:load', function () { if (window.location.pathname.includes('/implement')) { - const editor = $('#editor'); - const exercise_id = editor.data('exercise-id'); + var editor = $('#editor'); + var exercise_id = editor.data('exercise-id'); if ($.isController('exercises') && ProgrammingGroups.is_other_user(current_contributor)) {