mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-24 22:26:10 +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) {
|
||||
}
|
||||
};
|
||||
|
||||
if (withCredentials) {
|
||||
request.withCredentials = true;
|
||||
}
|
||||
|
||||
try {
|
||||
request.open( "GET", url, true );
|
||||
|
||||
if (withCredentials) {
|
||||
request.withCredentials = true;
|
||||
}
|
||||
|
||||
request.send( null );
|
||||
} catch (e) {
|
||||
var msg = e.message;
|
||||
|
Loading…
Reference in New Issue
Block a user