mirror of
https://github.com/jquery/jquery.git
synced 2026-02-01 15:34:56 -05:00
Ref 705216d: Synchronize ajax/xhr.js with master
This commit is contained in:
@@ -76,7 +76,7 @@ if ( xhrSupported ) {
|
||||
headers["X-Requested-With"] = "XMLHttpRequest";
|
||||
}
|
||||
|
||||
// Need an extra try/catch for cross-domain requests in Firefox 3
|
||||
// Set headers
|
||||
for ( i in headers ) {
|
||||
xhr.setRequestHeader( i, headers[ i ] );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user