mirror of
https://github.com/wukko/cobalt.git
synced 2025-01-12 20:25:06 +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();
|
||||
if (jp.status === "continue") {
|
||||
changeDownloadButton(2, '>>>');
|
||||
if (sGet("downloadPopup") === "true") {
|
||||
popup('download', 1, j.url)
|
||||
} else {
|
||||
window.open(j.url, '_blank')
|
||||
}
|
||||
window.open(j.url, '_blank');
|
||||
setTimeout(() => { changeButton(1) }, 2500);
|
||||
} else {
|
||||
changeButton(0, jp.text);
|
||||
|
|
Loading…
Reference in a new issue