diff options
author | marzavec <admin@marzavec.com> | 2018-04-29 07:29:38 +0200 |
---|---|---|
committer | marzavec <admin@marzavec.com> | 2018-04-29 07:29:46 +0200 |
commit | 8820968c7378b03af57abce3d3a522cff318c9b9 (patch) | |
tree | 41bb23bdbddd484be3567732c531c11e31b22c32 /client | |
parent | added software link to readme (diff) | |
download | hackchat-8820968c7378b03af57abce3d3a522cff318c9b9.tar.gz hackchat-8820968c7378b03af57abce3d3a522cff318c9b9.zip |
misc server changes and new modules
Diffstat (limited to 'client')
-rw-r--r-- | client/client.js | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/client/client.js b/client/client.js index 85e3ecb..ff2decc 100644 --- a/client/client.js +++ b/client/client.js @@ -50,11 +50,6 @@ var myChannel = window.location.search.replace(/^\?/, ''); var lastSent = [""]; var lastSentPos = 0; -// Ping server every 50 seconds to retain WebSocket connection -window.setInterval(function () { - send({ cmd: 'ping' }); -}, 50000); - function join(channel) { if (document.domain == 'hack.chat') { // For https://hack.chat/ |