From 4ab7e7d2f562f3c81bd4c2486f3f2eda86223fa4 Mon Sep 17 00:00:00 2001 From: Piero Toffanin Date: Sun, 11 Dec 2022 00:53:19 -0500 Subject: [PATCH] Fix auto-detect --- app/static/js/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/static/js/app.js b/app/static/js/app.js index d32b140..0d61181 100644 --- a/app/static/js/app.js +++ b/app/static/js/app.js @@ -419,7 +419,7 @@ function handleLangsResponse(self, response) { return; } - self.langs.push({ name: "Auto Detect (Experimental)", code: "auto" }) + self.langs.push({ name: "Auto Detect", code: "auto", targets: self.langs.map(l => l.code)}) const sourceLanguage = self.langs.find(l => l.code === self.getQueryParam("source")) const targetLanguage = self.langs.find(l => l.code === self.getQueryParam("target"))