Merge pull request #596 from droid-Q/dev

Fix ChatGPT New UI
This commit is contained in:
Tw93
2023-11-10 18:44:29 +08:00
committed by GitHub

View File

@@ -170,7 +170,7 @@ document.addEventListener('DOMContentLoaded', () => {
// case: download from dataURL -> convert dataURL ->
} else if (url.startsWith('data:')) {
downloadFromDataUri(url, filename);
} else if (isDownloadLink(url) || externalSelfLink()) {
} else if (isDownloadLink(url)) {
handleExternalLink(e, url);
}
}, true);