Skip to content

Commit

Permalink
Fix for Quantum Adapter empty size detection (prebid#3329)
Browse files Browse the repository at this point in the history
  • Loading branch information
benjaminclot authored and AdSpacesDevelopers committed Jan 30, 2019
1 parent 03da61e commit 05fadb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/quantumBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ export const spec = {
if (serverBody.cobj) {
bid.cobj = serverBody.cobj;
}
if (bidRequest.sizes) {
if (!utils.isEmpty(bidRequest.sizes)) {
bid.width = bidRequest.sizes[0][0];
bid.height = bidRequest.sizes[0][1];
}
Expand Down

0 comments on commit 05fadb7

Please sign in to comment.