From 14bc488420f21f07943d8e001b256ef0cac13744 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Fri, 3 Apr 2015 11:31:21 +0200 Subject: [PATCH] fs: also make downloading next part async --- static/js/fs.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/static/js/fs.js b/static/js/fs.js index b8858a2b..0e6d37de 100644 --- a/static/js/fs.js +++ b/static/js/fs.js @@ -54,7 +54,9 @@ pandora.fs = (function() { }); } } else { - downloadPart(part + 1); + setTimeout(function() { + downloadPart(part + 1); + }); } } callback && callback(result);