From 89c50676859bed903730ccb8ab898ad82aa69c2c Mon Sep 17 00:00:00 2001 From: wukko Date: Sat, 2 Dec 2023 23:10:19 +0600 Subject: [PATCH] web: fix auto hiding of download popup --- src/front/cobalt.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/front/cobalt.js b/src/front/cobalt.js index 15ebaa8e..0ff6ab3f 100644 --- a/src/front/cobalt.js +++ b/src/front/cobalt.js @@ -426,8 +426,8 @@ async function download(url) { if (sGet("downloadPopup") === "true") { popup('download', 1, j.url) setTimeout(() => { - popup('download', 0); - }, 90000) + hideAllPopups() + }, 85000) } else { if (isMobile || isSafari) { window.location.href = j.url;