Commit 39e81064 authored by Skye Yu's avatar Skye Yu Committed by Skye Yu

remove code


(cherry picked from commit d33ee3bb)
parent 326e3cda
......@@ -759,7 +759,6 @@ Jensen.prototype.getFile = async function (filename, length, ondata, onprogress)
flen += msg.body.length || msg.body.byteLength;
ondata(msg.body);
Logger.info('jensen', 'getFile length', `${length} ${flen}`)
clearEventAndTask();
if (flen >= length) {
document.removeEventListener('visibilitychange', visibilitychange);
Logger.info('jensen', 'getFile', 'file download finish.')
......
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