File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
1
/*
2
- * jQuery XDomainRequest Transport Plugin 1.1.1
2
+ * jQuery XDomainRequest Transport Plugin 1.1.2
3
3
* https://github.com/blueimp/jQuery-File-Upload
4
4
*
5
5
* Copyright 2011, Sebastian Tschan
26
26
}
27
27
} ( function ( $ ) {
28
28
'use strict' ;
29
- if ( window . XDomainRequest && $ . ajaxSettings . xhr ( ) . withCredentials === undefined ) {
29
+ if ( window . XDomainRequest && ! $ . support . cors ) {
30
30
$ . ajaxTransport ( function ( s ) {
31
31
if ( s . crossDomain && s . async ) {
32
32
if ( s . timeout ) {
Original file line number Diff line number Diff line change 1
1
/*
2
- * jQuery File Upload Plugin JS Example 6.5
2
+ * jQuery File Upload Plugin JS Example 6.5.1
3
3
* https://github.com/blueimp/jQuery-File-Upload
4
4
*
5
5
* Copyright 2010, Sebastian Tschan
@@ -38,7 +38,7 @@ $(function () {
38
38
resizeMaxHeight : 1200
39
39
} ) ;
40
40
// Upload server status check for browsers with CORS support:
41
- if ( $ . ajaxSettings . xhr ( ) . withCredentials !== undefined ) {
41
+ if ( $ . support . cors ) {
42
42
$ . ajax ( {
43
43
url : '//jquery-file-upload.appspot.com/' ,
44
44
type : 'HEAD'
You can’t perform that action at this time.
0 commit comments