[FIX] Регрессия в dialog.js

This commit is contained in:
Zaxar163 2019-05-05 09:42:25 +03:00 committed by GitHub
parent b27d62024c
commit d4d389b70d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -328,7 +328,7 @@ function updateProfilesList(profiles) {
serverList.getChildren().clear();
var index = 0;
profiles.forEach(function(profile, i, arr) {
pingers[profile] = new ServerPinger(profile.getServerSocketAddress(), profile.getVersion());
pingers[profile] = new ServerPinger(profile);
var serverBtn = new javafx.scene.control.ToggleButton(profile);