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
  • Loading branch information
nd0ut committed Nov 30, 2023
1 parent 70eeedd commit 538c5dc
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 538c5dc

Please sign in to comment.