Skip to content

Commit

Permalink
Merge pull request #22 from prebid/bugfix/i_undefined
Browse files Browse the repository at this point in the history
No scope defined for i. fixes #21
  • Loading branch information
mkendall07 authored Jul 9, 2018
2 parents ba25746 + f149435 commit 185d458
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/creative.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ pbjs.renderAd = function(doc, adId, dataObject) {
*/
function renderLegacy(doc, adId) {
let w = window;
for (i = 0; i < 10; i++) {
for (let i = 0; i < 10; i++) {
w = w.parent;
if (w.pbjs) {
try {
Expand Down

0 comments on commit 185d458

Please # to comment.