mirror of
https://github.com/jquery/jquery.git
synced 2026-01-22 18:58:01 -05:00
@@ -84,8 +84,8 @@ jQuery.ajaxTransport(function( options ) {
|
||||
xhr.abort();
|
||||
} else if ( type === "error" ) {
|
||||
complete(
|
||||
// file protocol always yields status 0, assume 404
|
||||
xhr.status || 404,
|
||||
// file: protocol always yields status 0; see #8605, #14207
|
||||
xhr.status,
|
||||
xhr.statusText
|
||||
);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user