This commit is contained in:
rustdesk
2022-01-27 13:24:40 +08:00
parent 6c0030bbe2
commit 74c53f17ae
4 changed files with 22 additions and 19 deletions
+2 -5
View File
@@ -28,6 +28,7 @@ if (app) {
`;
let player;
window.init();
document.body.onload = () => {
const host = document.querySelector('#host');
@@ -55,11 +56,7 @@ if (app) {
document.querySelector('div#status').style.display = 'block';
document.querySelector('div#connect').style.display = 'none';
document.querySelector('div#text').innerHTML = 'Connecting ...';
try {
await conn.start(id.value);
} catch (e) {
msgbox('error', 'Error', e);
}
await conn.start(id.value);
};
func();
}