corrigé bug admin popup

This commit is contained in:
Sylvain Gay 2022-09-14 10:06:41 +02:00
parent 18991a60de
commit 1796db7042

View file

@ -135,7 +135,7 @@ io.sockets.on('connection', function(socket){
}); });
socket.on('popup', function(d){ socket.on('popup', function(d){
for(i in equipes) for(i in equipes)
equipes[i].emit('popup', d.data); equipes[i].emit('popup', {"content": d.content});
}); });
socket.on('setName', function(d){ socket.on('setName', function(d){
socket.name = d.name; socket.name = d.name;