Merge pull request #325 from dingedi/feature/auto-translate-url

run translation if text is in url
This commit is contained in:
Dingedi 2022-10-02 14:33:51 +02:00 committed by GitHub
commit eb0df4d0df
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -419,6 +419,7 @@ function handleLangsResponse(self, response) {
if (defaultText) {
self.inputText = decodeURI(defaultText)
self.handleInput(new Event('none'))
}
} else {
self.error = "Cannot load /languages";