Skip to content

Commit

Permalink
Fixed IE 9's "Invalid argument" error.
Browse files Browse the repository at this point in the history
  • Loading branch information
nmrugg committed Mar 6, 2012
1 parent 70e9016 commit 7fa8b2c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/lzma_worker.js
Expand Up @@ -84,7 +84,7 @@ function update_progress(percent, callback_num) {
action: 3,
callback_num: callback_num,
result: percent
});
}, "*");
}

LZMA = (function () {
Expand Down Expand Up @@ -3817,7 +3817,7 @@ LZMA = (function () {
action: action_compress,
callback_num: callback_num,
result: this$static.c.output.toByteArray().slice(0)
});
}, "*");
}

setTimeout(do_action, 1);
Expand Down Expand Up @@ -3851,7 +3851,7 @@ LZMA = (function () {
action: action_decompress,
callback_num: callback_num,
result: decode(this$static.d.output.toByteArray())
});
}, "*");
}

setTimeout(do_action, 0);
Expand Down

0 comments on commit 7fa8b2c

Please sign in to comment.