diff --git a/src/creative.js b/src/creative.js index 6d4d450e..e76b1510 100644 --- a/src/creative.js +++ b/src/creative.js @@ -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 {