Skip to content

Commit

Permalink
fix(upload-ctx-provider): run parent init callback before accessing e…
Browse files Browse the repository at this point in the history
…vent emitter (#565)
  • Loading branch information
nd0ut authored Dec 1, 2023
1 parent 70eeedd commit a313c5c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions blocks/UploadCtxProvider/UploadCtxProvider.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ class UploadCtxProviderClass extends UploaderBlock {
requireCtxName = true;

initCallback() {
super.initCallback();

this.$['*eventEmitter'].bindTarget(this);
}
}
Expand Down

0 comments on commit a313c5c

Please sign in to comment.