front: removed download popup auto closing

This commit is contained in:
wukko 2023-12-05 15:50:01 +06:00
parent d34337370f
commit e605a99d54
2 changed files with 1 additions and 4 deletions

View file

@ -1,7 +1,7 @@
{ {
"name": "cobalt", "name": "cobalt",
"description": "save what you love", "description": "save what you love",
"version": "7.7", "version": "7.7.1",
"author": "wukko", "author": "wukko",
"exports": "./src/cobalt.js", "exports": "./src/cobalt.js",
"type": "module", "type": "module",

View file

@ -425,9 +425,6 @@ async function download(url) {
changeDownloadButton(2, '>>>'); changeDownloadButton(2, '>>>');
if (sGet("downloadPopup") === "true") { if (sGet("downloadPopup") === "true") {
popup('download', 1, j.url) popup('download', 1, j.url)
setTimeout(() => {
hideAllPopups()
}, 85000)
} else { } else {
if (isMobile || isSafari) { if (isMobile || isSafari) {
window.location.href = j.url; window.location.href = j.url;