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") {
|
if (sGet("downloadPopup") === "true") {
|
||||||
popup('download', 1, j.url)
|
popup('download', 1, j.url)
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
popup('download', 0);
|
hideAllPopups()
|
||||||
}, 90000)
|
}, 85000)
|
||||||
} else {
|
} else {
|
||||||
if (isMobile || isSafari) {
|
if (isMobile || isSafari) {
|
||||||
window.location.href = j.url;
|
window.location.href = j.url;
|
||||||
|
|
Loading…
Reference in a new issue