mirror of
https://github.com/imputnet/cobalt.git
synced 2025-01-21 06:01:40 +00:00
web: fix auto hiding of download popup
This commit is contained in:
parent
83d82f5da9
commit
89c5067685
|
@ -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