File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -310,6 +310,7 @@ jQuery.extend({
310
310
contentType : "application/x-www-form-urlencoded" ,
311
311
processData : true ,
312
312
async : true ,
313
+ crossDomain : null ,
313
314
/*
314
315
timeout: 0,
315
316
data: null,
@@ -319,7 +320,6 @@ jQuery.extend({
319
320
cache: null,
320
321
traditional: false,
321
322
headers: {},
322
- crossDomain: null,
323
323
*/
324
324
325
325
accepts : {
@@ -604,7 +604,7 @@ jQuery.extend({
604
604
s . dataTypes = jQuery . trim ( s . dataType || "*" ) . toLowerCase ( ) . split ( rspacesAjax ) ;
605
605
606
606
// Determine if a cross-domain request is in order
607
- if ( ! s . crossDomain ) {
607
+ if ( s . crossDomain == null ) {
608
608
parts = rurl . exec ( s . url . toLowerCase ( ) ) ;
609
609
s . crossDomain = ! ! ( parts &&
610
610
( parts [ 1 ] != ajaxLocParts [ 1 ] || parts [ 2 ] != ajaxLocParts [ 2 ] ||
You can’t perform that action at this time.
0 commit comments