Merge pull request 'Ignore PassIframeReady
event in handleMessage' (#21) from ignore_some_events into dev
All checks were successful
Build and Push to Registry / build-and-push (push) Successful in 3m53s
All checks were successful
Build and Push to Registry / build-and-push (push) Successful in 3m53s
Reviewed-on: #21
This commit is contained in:
commit
f87f7f747d
@ -881,7 +881,7 @@ export default class MessageBus {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private handleMessage(event: MessageEvent): void {
|
private handleMessage(event: MessageEvent): void {
|
||||||
if (!event.data || event.data.type === 'PassClientScriptReady') {
|
if (!event.data || ['PassClientScriptReady', 'PassIFrameReady', 'Pass::MainWorld::Message', 'Pass::MainWorld::Response'].includes(event.data.type)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user