Fix getXMLHttpRequest vs new XMLHttpRequest

I have never ever heard of getXMLHttpRequest.

refs #8626
This commit is contained in:
Eric Lippmann 2015-03-11 15:08:10 +01:00
parent 84348151ce
commit 8df9520497
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@
if (navigator.userAgent.toLowerCase().indexOf('msie') !== -1) {
document.execCommand('ClearAuthenticationCache');
} else {
var xhttp = getXMLHttpRequest();
var xhttp = new XMLHttpRequest();
xhttp.open('GET', 'arbitrary url', true, 'logout', 'logout');
xhttp.send('');
xhttp.abort();