run translation if text is in url

This commit is contained in:
dingedi 2022-10-02 14:31:57 +02:00
parent 9e8bcf6040
commit 54079b0276
No known key found for this signature in database
GPG key ID: EE23A12D271A3CED

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";