Skip to content

best way to save what you love

web: fix auto hiding of download popup

wukko89c50676859b
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;