aboutsummaryrefslogtreecommitdiffstats
path: root/src/ajax/xhr.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/ajax/xhr.js')
-rw-r--r--src/ajax/xhr.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ajax/xhr.js b/src/ajax/xhr.js
index b6f5d7f48..a24feaf1a 100644
--- a/src/ajax/xhr.js
+++ b/src/ajax/xhr.js
@@ -94,7 +94,7 @@ if ( jQuery.support.ajax ) {
for ( i in headers ) {
xhr.setRequestHeader( i, headers[ i ] );
}
- } catch( _ ) {}
+ } catch( err ) {}
// Do send the request
// This may raise an exception which is actually
@@ -150,7 +150,7 @@ if ( jQuery.support.ajax ) {
// on any attempt to access responseText (#11426)
try {
responses.text = xhr.responseText;
- } catch( _ ) {
+ } catch( err ) {
}
// Firefox throws an exception when accessing