diff options
| -rw-r--r-- | public/js/calculator.coffee | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/public/js/calculator.coffee b/public/js/calculator.coffee index f7f47f90..f61c3b79 100644 --- a/public/js/calculator.coffee +++ b/public/js/calculator.coffee @@ -112,6 +112,7 @@ setupSocket = -> g.websocket.send('{"op":"addr_sub", "addr":"' + g.address + '"}') g.websocket.onerror = -> + g.websocket = null fail(SOCKET_FAIL) g.websocket.onclose = -> |
