From fe56cc84aad475874bd08f0e0557a024dd96cbfa Mon Sep 17 00:00:00 2001 From: wukko Date: Tue, 15 Aug 2023 16:14:17 +0600 Subject: [PATCH] temp fix until future update --- src/front/cobalt.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/front/cobalt.js b/src/front/cobalt.js index 58905b3..c5a13ef 100644 --- a/src/front/cobalt.js +++ b/src/front/cobalt.js @@ -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);