more equal check in config

This commit is contained in:
rustdesk
2022-01-05 21:12:07 +08:00
parent 1b61b77fbe
commit 32c5437c5d
2 changed files with 11 additions and 2 deletions

View File

@@ -287,4 +287,4 @@ class MultipleSessions: Reactor.Component {
}
}
view.on("size", function() { if (app.multipleSessions) app.multipleSessions.onSize(); });
view.on("size", function() { if (app && app.multipleSessions) app.multipleSessions.onSize(); });