From cc773025c16b9d32742f599e7ffcb80118496752 Mon Sep 17 00:00:00 2001 From: Greg Fodor <gfodor@gmail.com> Date: Fri, 20 Jul 2018 22:21:50 +0000 Subject: [PATCH] Update based on cvan feedback --- src/utils/vr-caps-detect.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/vr-caps-detect.js b/src/utils/vr-caps-detect.js index 84e931fcd..90c4ac6b5 100644 --- a/src/utils/vr-caps-detect.js +++ b/src/utils/vr-caps-detect.js @@ -50,7 +50,7 @@ export async function getAvailableVREntryTypes() { // This needs to be kept up-to-date with the latest browsers that can support VR and Hubs. // Checking for navigator.getVRDisplays always passes b/c of polyfill. const isWebVRCapableBrowser = window.hasNativeWebVRImplementation; - const isFirefoxReality = ('buildID' in navigator) && isWebVRCapableBrowser; + const isFirefoxReality = "buildID" in navigator && isWebVRCapableBrowser; const isInHMD = isOculusBrowser || isFirefoxReality; const isDaydreamCapableBrowser = !!(isWebVRCapableBrowser && browser.name === "chrome" && !isSamsungBrowser); -- GitLab