Change websocket closed message

pull/749/head
lilia 10 years ago
parent c3d3ec125d
commit 00dfcbb462

@ -174,11 +174,13 @@
id = 'standalone-installer'; id = 'standalone-installer';
url = 'register.html'; url = 'register.html';
} }
extension.windows.open({ if (!chrome.app.window.get(id)) {
id: id, extension.windows.open({
url: url, id: id,
bounds: { width: 800, height: 666 } url: url,
}); bounds: { width: 800, height: 666 }
});
}
}; };
if (chrome.runtime.onInstalled) { if (chrome.runtime.onInstalled) {

@ -39,7 +39,7 @@
break; break;
case WebSocket.CLOSED: case WebSocket.CLOSED:
className = 'closed'; className = 'closed';
message = 'Websocket closed'; message = 'Disconnected';
break; break;
} }
if (!this.$el.hasClass(className)) { if (!this.$el.hasClass(className)) {

Loading…
Cancel
Save