Skip to content

Commit

Permalink
Add display none (prebid#925)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexStanovsky authored and Will Alexander committed Mar 6, 2017
1 parent c62149e commit fc92507
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/adapters/memeglobal.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ var MemeGlobalAdapter = function MemeGlobalAdapter() {
bidResponse.placementCode = placementCode;
bidResponse.size = bidRequested.sizes;
var responseAd = bidderBid.adm;
var responseNurl = '<img src="' + bidderBid.nurl + '" height="0px" width="0px">';
var responseNurl = '<img src="' + bidderBid.nurl + '" height="0px" width="0px" style="display: none;">';
bidResponse.creative_id = bidderBid.id;
bidResponse.bidderCode = bidderName;
bidResponse.cpm = responseCPM;
Expand Down
2 changes: 1 addition & 1 deletion test/spec/adapters/memeglobal_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ describe('memeglobal adapter tests', function () {
expect(bidObject1.cpm).to.equal(0.09);
expect(bidObject1.height).to.equal(250);
expect(bidObject1.width).to.equal(300);
expect(bidObject1.ad).to.equal('ad-code<img src="http://url" height="0px" width="0px">');
expect(bidObject1.ad).to.equal('ad-code<img src="http://url" height="0px" width="0px" style="display: none;">');

stubAddBidResponse.calledThrice;

Expand Down

0 comments on commit fc92507

Please sign in to comment.