diff --git a/app/assets/javascripts/experiments/show.js b/app/assets/javascripts/experiments/show.js index 650850f7d..be35db24a 100644 --- a/app/assets/javascripts/experiments/show.js +++ b/app/assets/javascripts/experiments/show.js @@ -7,7 +7,7 @@ let myModuleUserSelector = '#my_module_user_ids'; var myModuleTagsSelector = '#module-tags-selector'; - $(document).on('submit', '#new-my-module-modal form', (event) => { + $('#experiment-canvas').on('submit', '#new-my-module-modal form', (event) => { event.preventDefault(); $.post({