mirror of
https://github.com/schlagmichdoch/PairDrop.git
synced 2026-04-05 17:33:49 +00:00
[self-hosted] fix: if client does not support webrtc but peer does, show peer with a red border as well
This commit is contained in:
@@ -258,7 +258,7 @@ class PeerUI {
|
||||
this.$el.id = this._peer.id;
|
||||
this.$el.ui = this;
|
||||
this.$el.classList.add(`type-${this._roomType}`);
|
||||
if (!this._peer.rtcSupported) this.$el.classList.add('ws-peer')
|
||||
if (!this._peer.rtcSupported || !window.isRtcSupported) this.$el.classList.add('ws-peer')
|
||||
this.html();
|
||||
|
||||
this._callbackInput = e => this._onFilesSelected(e)
|
||||
|
||||
Reference in New Issue
Block a user