Fix connect window opening twice in public mode

This commit is contained in:
Pavel Djundik 2018-04-22 21:27:45 +03:00
parent 426893077f
commit ee5e82fe9a

View File

@ -23,10 +23,6 @@ socket.on("init", function(data) {
if (data.networks.length === 0) {
sidebar.find(".empty").show();
$("#footer").find(".connect").trigger("click", {
pushState: false,
});
} else {
render.renderNetworks(data);
}