diff --git a/public/javascripts/bingo-web.js b/public/javascripts/bingo-web.js index c680079..7581771 100644 --- a/public/javascripts/bingo-web.js +++ b/public/javascripts/bingo-web.js @@ -702,7 +702,7 @@ function initSocketEvents(data) { }); socket.on('statusChange', (status, winner) => { - if (status === 'FINISHED') { + if (status === 'FINISHED' && winner) { if (document.querySelector('#container-bingo-round')) displayWinner(winner); } else {