[修复] 翻译问题

main
PJ568 1 year ago
parent 1fd3f0b1de
commit 86bba0f245

@ -15,6 +15,13 @@ function loadingFade() {
// loadingPage.remove();
// $('#loading').remove();
position.style.display = 'none';
}
loadingBackground.style.opacity=opacity;
opacity-=0.4;
},100);
}
function initTranslate() {
try{
translate.service.use('client.edge');
translate.listener.start();
@ -29,9 +36,6 @@ function loadingFade() {
translate.execute();
}
catch(e){console.log('翻译系统出错:' + e);}
}
loadingBackground.style.opacity=opacity;
opacity-=0.4;
},100);
}
window.addEventListener('load', initTranslate);
Loading…
Cancel
Save