Skip to content

Commit

Permalink
Merge pull request #1468 from SFDigitalServices/hotfix/fix-google-tra…
Browse files Browse the repository at this point in the history
…nslate

Fix google translate switching languages DAH-787
  • Loading branch information
akegan authored May 10, 2021
2 parents 8f94de1 + 07ab36f commit 554ed41
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ ExternalTranslateService = ($q, $timeout, $window) ->
# Default to 15 recursive calls, break the loop if it's not working.
if iterationCount > 0
Service.init()
$timeout Service.translatePageContent(iterationCount-1), 25, false
$timeout((() -> Service.translatePageContent(iterationCount - 1)), 50)
else
return false

Expand Down

0 comments on commit 554ed41

Please sign in to comment.