Skip to content
Snippets Groups Projects
Unverified Commit eb0df4d0 authored by Dingedi's avatar Dingedi Committed by GitHub
Browse files

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

run translation if text is in url
parents 9e8bcf60 54079b02
No related branches found
No related tags found
No related merge requests found
...@@ -419,6 +419,7 @@ function handleLangsResponse(self, response) { ...@@ -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";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment