Skip to content

Commit

Permalink
Fix a TypeError when message event source is not available (prebid#6224)
Browse files Browse the repository at this point in the history
  • Loading branch information
cciocov authored and icflournoy committed Feb 5, 2021
1 parent 38150c5 commit 900819c
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 900819c

Please sign in to comment.