diff --git a/src/adapters/openx.js b/src/adapters/openx.js index 54114b7e7de..42314e7f286 100644 --- a/src/adapters/openx.js +++ b/src/adapters/openx.js @@ -197,7 +197,7 @@ const OpenxAdapter = function OpenxAdapter() { let isIfr, bids = params.bids || [], currentURL = (window.parent !== window) ? document.referrer : window.location.href; - currentURL = currentURL && encodeURIComponent(currentURL); + currentURL = currentURL && encodeURIComponent(currentURL); try { isIfr = window.self !== window.top; }