diff options
| -rw-r--r-- | templates/index.html | 5 | 
1 files changed, 0 insertions, 5 deletions
| diff --git a/templates/index.html b/templates/index.html index 9fd6350..8de9627 100644 --- a/templates/index.html +++ b/templates/index.html @@ -91,11 +91,6 @@ function generate_id(){      return Math.random().toString(36).substring(2, 15) + Math.random().toString(36).substring(2, 15);  } -window.onbeforeunload = function() { -    sendMessage("disconnect") -    websocket.close() -}; -  window.addEventListener("load", init, false);  </script> | 
