Increased translation stability.

This commit is contained in:
Gres 2015-11-06 21:13:18 +03:00
parent 02e4624514
commit 8c6e6854e1
3 changed files with 3 additions and 3 deletions

View File

@ -11,7 +11,7 @@ function checkFinished () {
return res + i.innerText;
}, '');
st_wtp.translated (text);
}, 500); // wait for gui fill
}, 2000); // wait for gui fill
}
function onResourceLoad (url) {
if (url.indexOf ('/api.microsofttranslator.com/') > -1) {

View File

@ -12,7 +12,7 @@ function checkFinished () {
}, '');
st_wtp.translated (text);
isTranslationFinished = isScheduled = false;
}, 500); // wait for gui fill
}, 2000); // wait for gui fill
}
function onResourceLoad (url) {
if (url.indexOf ('/translate_a/single') > -1) {

View File

@ -11,7 +11,7 @@ function checkFinished () {
return res + i.innerText;
}, '');
st_wtp.translated (text);
}, 500); // wait for gui fill
}, 2000); // wait for gui fill
}
function onResourceLoad (url) {
}