Skip to content

Commit

Permalink
Explicitly set ajax() XHR to asynchronous. (prebid#3038)
Browse files Browse the repository at this point in the history
  • Loading branch information
dkharton authored and florevallatmrf committed Sep 6, 2018
1 parent facb12d commit 6f8b9e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ajax.js
Original file line number Diff line number Diff line change
Expand Up @@ -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')) {
Expand Down

0 comments on commit 6f8b9e7

Please sign in to comment.