Commit 6d3869e5 authored by Tristan Cavelier's avatar Tristan Cavelier

localstorage readAsText "[object Uint8Array]" fix

parent db707276
......@@ -314,7 +314,7 @@
for (i = 0; i < binarystring.length; i += 1) {
uint8array[i] = binarystring.charCodeAt(i); // mask `& 0xFF` not necessary
}
uint8array = new Blob([uint8array], {
uint8array = new Blob([uint8array.buffer], {
"type": doc._attachments[param._attachment].content_type || ""
});
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment