From 0ecc2ee808a04a0ab34ee43d92ac5ac584aa8e6a Mon Sep 17 00:00:00 2001 From: choelzl Date: Thu, 24 Feb 2022 02:32:27 +0100 Subject: [PATCH] WIP --- web/alert/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/alert/index.js b/web/alert/index.js index 9f1aa53..483386e 100644 --- a/web/alert/index.js +++ b/web/alert/index.js @@ -34,7 +34,7 @@ $(async function () { let audio = await playAudio(music); node.style.opacity = 1; nodeIm.style.opacity = 1; - await sleep(Math.max(audio.duration*1000 - 500,3000)); + await sleep(Math.max(audio.duration*1000 - 1000,4000)); node.style.opacity = 0; nodeIm.style.opacity = 0; }