Change websocket closed message
This commit is contained in:
@@ -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)) {
|
||||||
|
Reference in New Issue
Block a user