Skip to content

Commit

Permalink
hide overflow to prevent scrolling (#1294)
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt Kendall committed Jun 14, 2017
1 parent ebe7905 commit b997352
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/prebid.js
Original file line number Diff line number Diff line change
Expand Up @@ -344,6 +344,7 @@ $$PREBID_GLOBAL$$.renderAd = function (doc, id) {
iframe.height = height;
iframe.width = width;
iframe.style.display = 'inline';
iframe.style.overflow = 'hidden';
iframe.src = url;

utils.insertElement(iframe, doc, 'body');
Expand Down

0 comments on commit b997352

Please sign in to comment.