forked from mirrors/LibreTranslate
run translation if text is in url
This commit is contained in:
parent
9e8bcf6040
commit
54079b0276
1 changed files with 1 additions and 0 deletions
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue