incorrect onClose in WS js

This commit is contained in:
Raphael 2010-11-24 18:10:49 -05:00
parent 38a2ea5199
commit ed35969084

View file

@ -4,7 +4,7 @@ var WebSocketReceiver = {
//Attach onmessage to websocket
ws.onmessage = WSR.onMessage;
ws.onclose = function() { debug("socket closed"); };
ws.onclose = function() { WSR.debug("socket closed"); };
ws.onopen = function() {
ws.send(location.pathname);
WSR.debug("connected...");