fs: also make downloading next part async
This commit is contained in:
parent
12adaf062a
commit
14bc488420
1 changed files with 3 additions and 1 deletions
|
@ -54,7 +54,9 @@ pandora.fs = (function() {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
downloadPart(part + 1);
|
setTimeout(function() {
|
||||||
|
downloadPart(part + 1);
|
||||||
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
callback && callback(result);
|
callback && callback(result);
|
||||||
|
|
Loading…
Reference in a new issue