Replace JS comparison with safe variant

This commit is contained in:
Sebastian Serth
2020-10-29 13:47:36 +01:00
parent 1a20c70c41
commit 7758d39970

View File

@ -126,7 +126,7 @@ CodeOceanEditorEvaluation = {
},
killWebsocket: function () {
if (this.websocket != null && this.websocket.getReadyState() != WebSocket.OPEN) {
if (this.websocket != null && this.websocket.getReadyState() !== WebSocket.OPEN) {
return;
}