From ba5ea0a7dc23492bf1f203e4bc71335989ea1ffc Mon Sep 17 00:00:00 2001 From: dkharton Date: Tue, 4 Sep 2018 12:24:57 -0700 Subject: [PATCH] Explicitly set ajax() XHR to asynchronous. (#3038) --- src/ajax.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ajax.js b/src/ajax.js index 1916f4ea080..d8b0712594d 100644 --- a/src/ajax.js +++ b/src/ajax.js @@ -66,7 +66,7 @@ export function ajaxBuilder(timeout = 3000, {request, done} = {}) { url = formatURL(urlInfo); } - x.open(method, url); + x.open(method, url, true); // IE needs timoeut to be set after open - see #1410 // Disabled timeout temporarily to avoid xhr failed requests. https://github.com/prebid/Prebid.js/issues/2648 if (!config.getConfig('disableAjaxTimeout')) {