This commit is contained in:
open-trade 2022-01-05 17:10:12 +08:00
parent 7bde8a3713
commit 12ab22e048
2 changed files with 2 additions and 2 deletions

View File

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

View File

@ -668,7 +668,7 @@ function checkConnectStatus() {
} }
if (handler.recent_sessions_updated()) { if (handler.recent_sessions_updated()) {
stdout.println("recent sessions updated"); stdout.println("recent sessions updated");
app.multipleSessions.update(); app.update();
} }
checkConnectStatus(); checkConnectStatus();
}); });