resources/websockets.js in plezi-0.10.16 vs resources/websockets.js in plezi-0.10.17

- old
+ new

@@ -12,9 +12,10 @@ var websocket_fail_limit = NaN function init_websocket() { + if(websocket && websocket.readyState == 1) return true; // console.log('no need to renew socket connection'); websocket = new WebSocket(ws_uri); websocket.onopen = function(e) { // reset the count. websocket_fail_count = 0 // what do you want to do now?