mirror of
https://github.com/LibreTranslate/LibreTranslate.git
synced 2024-11-25 01:11:00 +00:00
fix: avoid browser pop-up message
This commit is contained in:
parent
9032605138
commit
b3ac81ebca
1 changed files with 1 additions and 1 deletions
|
@ -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{
|
||||
|
|
Loading…
Reference in a new issue