mirror of
https://github.com/schlagmichdoch/PairDrop.git
synced 2026-04-18 15:22:16 +00:00
Fix typo
This commit is contained in:
@@ -296,7 +296,7 @@ class RTCPeer extends Peer {
|
|||||||
_onConnectionStateChange(e) {
|
_onConnectionStateChange(e) {
|
||||||
console.log('RTC: state changed:', this._peer.connectionState);
|
console.log('RTC: state changed:', this._peer.connectionState);
|
||||||
switch (this._peer.connectionState) {
|
switch (this._peer.connectionState) {
|
||||||
'disconnected': this._onChannelClosed();
|
case 'disconnected': this._onChannelClosed();
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user