From 2f62574f9b540a33a9e7fdeeb4d83953f76f4348 Mon Sep 17 00:00:00 2001 From: Matt Pass Date: Mon, 12 Aug 2019 23:56:13 +0100 Subject: [PATCH] No need for 200ms delay now before auto-open --- lib/ice-coder.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/ice-coder.js b/lib/ice-coder.js index 6f5ec00..c007d4a 100644 --- a/lib/ice-coder.js +++ b/lib/ice-coder.js @@ -97,8 +97,7 @@ var ICEcoder = { top.ICEcoder.showHide('hide',top.get('loadingMask')); top.ICEcoder.autoOpenInt = setInterval(function() { if (top.ICEcoder.fmReady) { - // Delay auto open process by 200ms to give trial bar time to begin animation - if (top.ICEcoder.openLastFiles) {setTimeout(function() {top.ICEcoder.autoOpenFiles()},200);}; + if (top.ICEcoder.openLastFiles) {top.ICEcoder.autoOpenFiles();}; clearInterval(top.ICEcoder.autoOpenInt); } }, 4); @@ -4530,4 +4529,4 @@ var ICEcoder = { } } -}; \ No newline at end of file +};