We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d3a781d commit 0bd98b1Copy full SHA for 0bd98b1
src/ajax.js
@@ -531,7 +531,7 @@ jQuery.extend( {
531
s.type = options.method || options.type || s.method || s.type;
532
533
// Extract dataTypes list
534
- s.dataTypes = jQuery.trim( s.dataType || "*" ).toLowerCase().match( rnotwhite ) || [ "" ];
+ s.dataTypes = ( s.dataType || "*" ).toLowerCase().match( rnotwhite ) || [ "" ];
535
536
// A cross-domain request is in order when the origin doesn't match the current origin.
537
if ( s.crossDomain == null ) {
0 commit comments