Skip to content

Commit

Permalink
fix Blob issue on Android Browser 4.x pagekit#432, pagekit#482, pagek…
Browse files Browse the repository at this point in the history
  • Loading branch information
steffans committed Jan 30, 2017
1 parent 3461d4b commit 53bfcfa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/http/client/xhr.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export default function (request) {

xhr.open(request.method, request.getUrl(), true);

if ('responseType' in xhr) {
if ('responseType' in xhr && typeof Blob !== 'undefined') {
xhr.responseType = 'blob';
}

Expand Down

0 comments on commit 53bfcfa

Please sign in to comment.