mirror of
https://github.com/wukko/cobalt.git
synced 2024-11-18 06:09:58 +00:00
front: removed download popup auto closing
This commit is contained in:
parent
d34337370f
commit
e605a99d54
2 changed files with 1 additions and 4 deletions
|
@ -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",
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue