diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-01-11 00:16:38 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-01-11 00:16:38 +0300 |
commit | fbb529e46cfd031fae6f6f650d81bef331ef8fcd (patch) | |
tree | 5948276887c29da4975caf80fb441a9dbba7c0f1 /app/assets/javascripts/editor | |
parent | 20c68317f8d350b9e2f5004730dd27e6a7d406ce (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/assets/javascripts/editor')
-rw-r--r-- | app/assets/javascripts/editor/source_editor.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/editor/source_editor.js b/app/assets/javascripts/editor/source_editor.js index 57e2b0da565..fa749112ab5 100644 --- a/app/assets/javascripts/editor/source_editor.js +++ b/app/assets/javascripts/editor/source_editor.js @@ -149,7 +149,7 @@ export default class SourceEditor { }); this.instances.push(instance); - el.dispatchEvent(new CustomEvent(EDITOR_READY_EVENT, { instance })); + el.dispatchEvent(new CustomEvent(EDITOR_READY_EVENT, { detail: { instance } })); return instance; } |