From 6a9f6384f2aa3aa54d8d42b1d9d5343443a5d546 Mon Sep 17 00:00:00 2001 From: Jeremy Zhang Date: Wed, 30 Oct 2019 22:23:35 -0700 Subject: [PATCH] Fix typo --- webapp/titanembeds/static/js/embed.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/webapp/titanembeds/static/js/embed.js b/webapp/titanembeds/static/js/embed.js index 1215b7b..ddb478a 100644 --- a/webapp/titanembeds/static/js/embed.js +++ b/webapp/titanembeds/static/js/embed.js @@ -2133,8 +2133,8 @@ socket.on("disconnect", function () { setTimeout(function () { - if (soccket) { - soccket = null; + if (socket) { + socket = null; initiate_websockets(); } }, 500);