Skip to content
Snippets Groups Projects
Commit b6ba782a authored by jojohoch's avatar jojohoch
Browse files

[player] Rename variable in VeronaSubscriptionService

parent afc4c4fd
No related branches found
No related tags found
No related merge requests found
......@@ -22,10 +22,7 @@ export class VeronaSubscriptionService {
constructor() {
fromEvent(window, 'message')
.subscribe((e: Event): void => {
const message = (e as MessageEvent).data as VopMessage;
this.handleMessage(message);
});
.subscribe((event: Event): void => this.handleMessage((event as MessageEvent).data as VopMessage));
}
private handleMessage(messageData: VopMessage): void {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment