From 3b88dba9a256c1d78566680071dc34e32b4887f9 Mon Sep 17 00:00:00 2001 From: bluesaxman Date: Wed, 30 Sep 2020 19:54:44 +0000 Subject: [PATCH] added close code to connection error dialog --- UI/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UI/index.html b/UI/index.html index fc2d2d4..8e3ad0e 100644 --- a/UI/index.html +++ b/UI/index.html @@ -190,7 +190,7 @@ function startGameSession() { gameSession.onconnect = function () {}; gameSession.onclose = function (event) { console.log(event); - popupDialog("connection_error","Connection Error!!!",false,"The server connection was closed!",null,function () { + popupDialog("connection_error","Connection Error!!!",false,"The server connection was closed! \n"+event.code+" : "+event.reason+"\n",null,function () { window.location.search = ""; //reload page }); };