remove warning for removed crypto.subtle dependency
This commit is contained in:
parent
a2d6832d12
commit
ca37331830
1 changed files with 1 additions and 5 deletions
|
@ -1,10 +1,6 @@
|
|||
window.URL = window.URL || window.webkitURL;
|
||||
window.isRtcSupported = !!(window.RTCPeerConnection || window.mozRTCPeerConnection || window.webkitRTCPeerConnection);
|
||||
if (!crypto.subtle && localStorage.getItem('unsecure_warning') !== 'received') {
|
||||
// Warn once per session
|
||||
alert("PairDrops functionality to compare received with requested files works in secure contexts only (https or localhost).")
|
||||
localStorage.setItem('unsecure_warning', 'received')
|
||||
}
|
||||
|
||||
class ServerConnection {
|
||||
|
||||
constructor() {
|
||||
|
|
Loading…
Reference in a new issue