mirror of
https://github.com/LibreTranslate/LibreTranslate.git
synced 2024-12-18 08:27:03 +02:00
run translation if text is in url
This commit is contained in:
parent
9e8bcf6040
commit
54079b0276
@ -419,6 +419,7 @@ function handleLangsResponse(self, response) {
|
|||||||
|
|
||||||
if (defaultText) {
|
if (defaultText) {
|
||||||
self.inputText = decodeURI(defaultText)
|
self.inputText = decodeURI(defaultText)
|
||||||
|
self.handleInput(new Event('none'))
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
self.error = "Cannot load /languages";
|
self.error = "Cannot load /languages";
|
||||||
|
Loading…
Reference in New Issue
Block a user