fixing js syntax error

This commit is contained in:
Thomas Müller 2013-10-22 22:39:28 +02:00
parent bf46e0c317
commit ca3771f8fd
1 changed files with 2 additions and 2 deletions

View File

@ -21,13 +21,13 @@ function supportAjaxUploadWithProgress() {
var fi = document.createElement('INPUT');
fi.type = 'file';
return 'files' in fi;
};
}
// Are progress events supported?
function supportAjaxUploadProgressEvents() {
var xhr = new XMLHttpRequest();
return !! (xhr && ('upload' in xhr) && ('onprogress' in xhr.upload));
};
}
// Is FormData supported?
function supportFormData() {