Replace JS comparison with safe variant
This commit is contained in:
@ -126,7 +126,7 @@ CodeOceanEditorEvaluation = {
|
|||||||
},
|
},
|
||||||
|
|
||||||
killWebsocket: function () {
|
killWebsocket: function () {
|
||||||
if (this.websocket != null && this.websocket.getReadyState() != WebSocket.OPEN) {
|
if (this.websocket != null && this.websocket.getReadyState() !== WebSocket.OPEN) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user