Merge pull request #1 from patroqueeet/patch-1

deepl: allow source lang auto detection
This commit is contained in:
Jirka Schäfer 2022-07-15 10:08:29 +02:00 committed by GitHub
commit fe987c8ab0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -33,7 +33,7 @@ $(document).ready(function() {
headers: {
"Content-Type": "application/x-www-form-urlencoded"
},
body: `auth_key=${authKey}&text=${orig}&source_lang=${sourceLang}&target_lang=${destLangRoot}`
body: `auth_key=${authKey}&text=${orig}&target_lang=${destLangRoot}`
}).then(response => {
if(response.ok) {
return response.json();