Skip to content

Commit

Permalink
Fix a TypeError when message event source is not available (#6224)
Browse files Browse the repository at this point in the history
  • Loading branch information
cciocov authored Feb 3, 2021
1 parent 97e5351 commit f8d42ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/inskinBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ export const spec = {

const id = 'ism_tag_' + Math.floor((Math.random() * 10e16));
window[id] = {
plr_AdSlot: e.source.frameElement,
plr_AdSlot: e.source && e.source.frameElement,
bidId: e.data.bidId,
bidPrice: bidsMap[e.data.bidId].price,
serverResponse
Expand Down

0 comments on commit f8d42ba

Please sign in to comment.