diff options
-rw-r--r-- | src/ajax/xhr.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ajax/xhr.js b/src/ajax/xhr.js index a24feaf1a..d3422ec79 100644 --- a/src/ajax/xhr.js +++ b/src/ajax/xhr.js @@ -148,9 +148,8 @@ if ( jQuery.support.ajax ) { // When requesting binary data, IE6-9 will throw an exception // on any attempt to access responseText (#11426) - try { + if ( typeof xhr.responseText === "string" ) { responses.text = xhr.responseText; - } catch( err ) { } // Firefox throws an exception when accessing |