Always provide useCapture and async args to browser
This commit is contained in:
@@ -44,7 +44,7 @@ ol.source.TileJSON = function(options) {
|
||||
this.handleTileJSONError.bind(this));
|
||||
} else {
|
||||
var xhr = new XMLHttpRequest();
|
||||
xhr.open('GET', options.url);
|
||||
xhr.open('GET', options.url, true);
|
||||
xhr.onload = function(e) {
|
||||
if (xhr.status < 400) {
|
||||
var response = /** @type {TileJSON} */(JSON.parse(xhr.responseText));
|
||||
|
||||
Reference in New Issue
Block a user