Fix connect window opening twice in public mode
This commit is contained in:
parent
426893077f
commit
ee5e82fe9a
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user