Commit 3ca74185 authored by charlyjazz's avatar charlyjazz
Browse files

Fixed error in file chunk

parent f97bac23
......@@ -11,7 +11,7 @@ function readFileChunk (ctx, offset, length) {
onReadError(ctx, 'Error in readFileChunk');
else {
onReadSuccess(ctx, end_offset, length,;
onReadSuccess(ctx, offset, length,;
}.bind(r, ctx.props.file, offset, length);
r.readAsArrayBuffer(ctx.props.file.slice(offset, end_offset));
Supports Markdown
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