We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 185307e + 974e393 commit 6d817afCopy full SHA for 6d817af
lib/connect/ws.js
@@ -141,7 +141,7 @@ function browserStreamBuilder (client, opts) {
141
}
142
proxy.on('close', () => { socket.close() })
143
144
- const eventListenerSupport = (typeof socket.addEventListener === 'undefined')
+ const eventListenerSupport = (typeof socket.addEventListener !== 'undefined')
145
146
// was already open when passed in
147
if (socket.readyState === socket.OPEN) {
0 commit comments