You've already forked LibreTranslate
mirror of
https://github.com/LibreTranslate/LibreTranslate.git
synced 2025-09-16 08:46:24 +02:00
fix: avoid browser pop-up message
This commit is contained in:
@@ -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{
|
||||
|
Reference in New Issue
Block a user