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 274f3e6 commit 3e3fc0dCopy full SHA for 3e3fc0d
src/ajax.js
@@ -743,9 +743,9 @@ jQuery.extend( {
743
response = ajaxHandleResponses( s, jqXHR, responses );
744
}
745
746
- // Use a noop converter for bad returns
747
- if ( !isSuccess ) {
748
- s.converters[ "text " + s.dataType ] = function() {};
+ // Use a noop converter for missing script
+ if ( !isSuccess && s.dataType === "script" ) {
+ s.converters[ "text script" ] = function() {};
749
750
751
// Convert no matter what (that way responseXXX fields are always set)
0 commit comments