1
0
mirror of https://github.com/LibreTranslate/LibreTranslate.git synced 2024-06-28 13:44:34 +02:00

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{