mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-28 16:16:08 +03:00
Merge pull request #967 from Riksarkivet/moveWithCredentials
Fixed CORS bug in IE 10
This commit is contained in:
commit
eead018195
@ -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