commit 96e37aef40c7a69203b172655b290732dc236dc3
parent 31e5f635d19a69ebe719194aeb8465368e9f672d
Author: RobinLinus <robinlinus@users.noreply.github.com>
Date: Fri, 21 Sep 2018 19:25:01 +0200
Fix typo
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/client/scripts/network.js b/client/scripts/network.js
@@ -296,7 +296,7 @@ class RTCPeer extends Peer {
_onConnectionStateChange(e) {
console.log('RTC: state changed:', this._peer.connectionState);
switch (this._peer.connectionState) {
- 'disconnected': this._onChannelClosed();
+ case 'disconnected': this._onChannelClosed();
break;
}
}