comment out the websocket notice. it was my idea to put it there, and it was a bad idea
This commit is contained in:
parent
c732940b58
commit
ff1168a6ba
1 changed files with 2 additions and 2 deletions
|
|
@ -7,12 +7,12 @@ var WebSocketReceiver = {
|
||||||
ws.onmessage = WSR.onMessage;
|
ws.onmessage = WSR.onMessage;
|
||||||
ws.onclose = function() {
|
ws.onclose = function() {
|
||||||
if (websocket_enabled) {
|
if (websocket_enabled) {
|
||||||
Diaspora.widgets.notifications.showNotification({
|
/* Diaspora.widgets.notifications.showNotification({
|
||||||
html: '<div class="notification">' +
|
html: '<div class="notification">' +
|
||||||
Diaspora.widgets.i18n.t("web_sockets.disconnected") +
|
Diaspora.widgets.i18n.t("web_sockets.disconnected") +
|
||||||
'</div>',
|
'</div>',
|
||||||
incrementCount: false
|
incrementCount: false
|
||||||
});
|
}); TODO:figure out why this fires so often */
|
||||||
|
|
||||||
WSR.debug("socket closed");
|
WSR.debug("socket closed");
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue