Commit 94c850c0 authored by Skye Yu's avatar Skye Yu

test:

parent 34d7b5c4
...@@ -733,7 +733,7 @@ Jensen.prototype.getFile = async function (filename, length, ondata, onprogress) ...@@ -733,7 +733,7 @@ Jensen.prototype.getFile = async function (filename, length, ondata, onprogress)
if (msg != null) { if (msg != null) {
flen += msg.body.length || msg.body.byteLength; flen += msg.body.length || msg.body.byteLength;
ondata(msg.body); ondata(msg.body);
Logger.info('jensen', 'getFile length', length, flen) Logger.info('jensen', 'getFile length', `${length} ${flen}`)
removeAudio(); removeAudio();
if (flen >= length) { if (flen >= length) {
document.removeEventListener('visibilitychange', visibilitychange); document.removeEventListener('visibilitychange', visibilitychange);
......
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