mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
parent
1cecf64e5a
commit
dce2edb3a6
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user