diff --git a/js/app/services/fileservice.js b/js/app/services/fileservice.js index 495869ef..1c7745e1 100644 --- a/js/app/services/fileservice.js +++ b/js/app/services/fileservice.js @@ -72,7 +72,7 @@ }); }, dataURItoBlob: function (dataURI, ftype) { - var byteString, mimeString, ab, ia, bb, i; + var byteString, ab, ia, bb, i; // convert base64 to raw binary data held in a string // doesn't handle URLEncoded DataURIs - see SO answer #6850276 for code that does this byteString = atob(dataURI.split(',')[1]);