mirror of
https://github.com/LibreTranslate/LibreTranslate.git
synced 2024-11-05 15:30:17 +01:00
Merge pull request #325 from dingedi/feature/auto-translate-url
run translation if text is in url
This commit is contained in:
commit
eb0df4d0df
@ -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 New Issue
Block a user