fix: avoid browser pop-up message

This commit is contained in:
Seth Falco 2023-07-08 11:58:46 +01:00
parent 9032605138
commit b3ac81ebca
No known key found for this signature in database
GPG key ID: DE1C217EFF01FEC8

View file

@ -402,8 +402,8 @@ document.addEventListener('DOMContentLoaded', function(){
self.translatedFileUrl = res.translatedFileUrl;
let link = document.createElement("a");
link.target = "_blank";
link.href = self.translatedFileUrl;
link.download = "";
link.click();
handleNotification("Translation Complete", "Finished translating " + self.inputFile.name + ".");
}else{