From 1796db7042e39bb03cc2b00be8b2deebaa6b3fb0 Mon Sep 17 00:00:00 2001 From: Sylvain Gay Date: Wed, 14 Sep 2022 10:06:41 +0200 Subject: [PATCH] =?UTF-8?q?corrig=C3=A9=20bug=20admin=20popup?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- traque.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/traque.js b/traque.js index 5251269..26bbd3a 100644 --- a/traque.js +++ b/traque.js @@ -135,7 +135,7 @@ io.sockets.on('connection', function(socket){ }); socket.on('popup', function(d){ for(i in equipes) - equipes[i].emit('popup', d.data); + equipes[i].emit('popup', {"content": d.content}); }); socket.on('setName', function(d){ socket.name = d.name;