diff --git a/js/resolutionScan.js b/js/resolutionScan.js index 1e7e1b8..0945f7a 100644 --- a/js/resolutionScan.js +++ b/js/resolutionScan.js @@ -42,7 +42,7 @@ $(document).ready(() => { console.log("adapter.js says this is " + adapter.browserDetails.browser + " " + adapter.browserDetails.version); - if (!navigator.getUserMedia) { + if (!navigator.mediaDevices.getUserMedia) { alert('You need a browser that supports WebRTC'); $("div").hide(); return;