diff --git a/src/openseadragon.js b/src/openseadragon.js index 50521d6a..06f6d189 100644 --- a/src/openseadragon.js +++ b/src/openseadragon.js @@ -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;