Change websocket closed message
This commit is contained in:
parent
c3d3ec125d
commit
00dfcbb462
2 changed files with 8 additions and 6 deletions
|
@ -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) {
|
||||
|
|
|
@ -39,7 +39,7 @@
|
|||
break;
|
||||
case WebSocket.CLOSED:
|
||||
className = 'closed';
|
||||
message = 'Websocket closed';
|
||||
message = 'Disconnected';
|
||||
break;
|
||||
}
|
||||
if (!this.$el.hasClass(className)) {
|
||||
|
|
Loading…
Reference in a new issue