mirror of
https://github.com/schlagmichdoch/PairDrop.git
synced 2025-04-21 15:26:17 -04:00
fix ws-fallback. Variable that indicates WebRTC support was always false
This commit is contained in:
parent
46f33f894b
commit
9a7e621af6
1 changed files with 1 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
|||
window.URL = window.URL || window.webkitURL;
|
||||
window.isRtcSupported = false; //!!(window.RTCPeerConnection || window.mozRTCPeerConnection || window.webkitRTCPeerConnection);
|
||||
window.isRtcSupported = !!(window.RTCPeerConnection || window.mozRTCPeerConnection || window.webkitRTCPeerConnection);
|
||||
|
||||
window.hiddenProperty = 'hidden' in document ? 'hidden' :
|
||||
'webkitHidden' in document ? 'webkitHidden' :
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue