mirror of
https://github.com/wukko/cobalt.git
synced 2025-01-13 04:35:28 +01:00
temp fix until future update
This commit is contained in:
parent
bf506f5da9
commit
fe56cc84aa
1 changed files with 1 additions and 5 deletions
|
@ -412,11 +412,7 @@ async function download(url) {
|
||||||
let jp = await res.json();
|
let jp = await res.json();
|
||||||
if (jp.status === "continue") {
|
if (jp.status === "continue") {
|
||||||
changeDownloadButton(2, '>>>');
|
changeDownloadButton(2, '>>>');
|
||||||
if (sGet("downloadPopup") === "true") {
|
window.open(j.url, '_blank');
|
||||||
popup('download', 1, j.url)
|
|
||||||
} else {
|
|
||||||
window.open(j.url, '_blank')
|
|
||||||
}
|
|
||||||
setTimeout(() => { changeButton(1) }, 2500);
|
setTimeout(() => { changeButton(1) }, 2500);
|
||||||
} else {
|
} else {
|
||||||
changeButton(0, jp.text);
|
changeButton(0, jp.text);
|
||||||
|
|
Loading…
Reference in a new issue