Skip to content

Commit

Permalink
fixed safeframe for 1.0 (#1834)
Browse files Browse the repository at this point in the history
  • Loading branch information
jaiminpanchal27 authored and Matt Kendall committed Nov 20, 2017
1 parent 28d0703 commit 45dc8aa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/secureCreatives.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
import events from './events';
import { fireNativeTrackers } from './native';
import { EVENTS } from './constants';
import { auctionManager } from './auctionManager';

const BID_WON = EVENTS.BID_WON;

Expand All @@ -23,7 +24,7 @@ function receiveMessage(ev) {
}

if (data.adId) {
const adObject = $$PREBID_GLOBAL$$._bidsReceived.find(function (bid) {
const adObject = auctionManager.getBidsReceived().find(function (bid) {
return bid.adId === data.adId;
});

Expand Down

0 comments on commit 45dc8aa

Please sign in to comment.