Removes now unnecessary regexp and companion function. Fixes some spacing issues. Shortens field names.
This commit is contained in:
parent
4d3cb7d7ee
commit
a519129e99
2 changed files with 8 additions and 12 deletions
|
@ -104,7 +104,7 @@ if ( jQuery.support.ajax ) {
|
|||
// Need an extra try/catch for cross domain requests in Firefox 3
|
||||
try {
|
||||
for ( i in headers ) {
|
||||
xhr.setRequestHeader( headers[ i ].name, headers[ i ].value );
|
||||
xhr.setRequestHeader( headers[ i ].n, headers[ i ].v );
|
||||
}
|
||||
} catch( _ ) {}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue