mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-22 05:06:09 +03:00
Moved setting of withCredentials to after the request is opened to fix IE 10 bug.
This commit is contained in:
parent
42c9cbaa06
commit
fb5e628add
@ -2119,12 +2119,13 @@ if (typeof define === 'function' && define.amd) {
|
||||
}
|
||||
};
|
||||
|
||||
try {
|
||||
request.open( "GET", url, true );
|
||||
|
||||
if (withCredentials) {
|
||||
request.withCredentials = true;
|
||||
}
|
||||
|
||||
try {
|
||||
request.open( "GET", url, true );
|
||||
request.send( null );
|
||||
} catch (e) {
|
||||
var msg = e.message;
|
||||
|
Loading…
Reference in New Issue
Block a user