Change websocket closed message

This commit is contained in:
lilia 2015-08-24 09:10:48 -07:00
parent c3d3ec125d
commit 00dfcbb462
2 changed files with 8 additions and 6 deletions

View file

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

View file

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