Skip to content

Commit

Permalink
Update builder-model.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
mchilvers committed May 13, 2024
1 parent 65ab904 commit ba3da99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tools/builder/src/views/builder/builder-model.ts
Expand Up @@ -53,7 +53,7 @@ export class BuilderModel extends ViewModelBase {
/**
* Start listening for messages from the host application.
*/
window.addEventListener("message", this.onMessage);
window.addEventListener("message", this.onMessage.bind(this));

/**
* Let the host application know that we are ready to roll (the host should
Expand Down

0 comments on commit ba3da99

Please sign in to comment.