diff --git a/webapp/titanembeds/static/js/embed.js b/webapp/titanembeds/static/js/embed.js index e17093e..1215b7b 100644 --- a/webapp/titanembeds/static/js/embed.js +++ b/webapp/titanembeds/static/js/embed.js @@ -2132,7 +2132,12 @@ }); socket.on("disconnect", function () { - + setTimeout(function () { + if (soccket) { + soccket = null; + initiate_websockets(); + } + }, 500); }); socket.on("revoke", function () {