mirror of
https://github.com/wukko/cobalt.git
synced 2025-01-12 20:25:06 +01:00
web: fix auto hiding of download popup
This commit is contained in:
parent
83d82f5da9
commit
89c5067685
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue