comment out the websocket notice. it was my idea to put it there, and it was a bad idea

This commit is contained in:
Maxwell Salzberg 2011-05-23 11:55:44 -07:00
parent c732940b58
commit ff1168a6ba

View file

@ -7,12 +7,12 @@ var WebSocketReceiver = {
ws.onmessage = WSR.onMessage;
ws.onclose = function() {
if (websocket_enabled) {
Diaspora.widgets.notifications.showNotification({
/* Diaspora.widgets.notifications.showNotification({
html: '<div class="notification">' +
Diaspora.widgets.i18n.t("web_sockets.disconnected") +
'</div>',
incrementCount: false
});
}); TODO:figure out why this fires so often */
WSR.debug("socket closed");
}