diff --git a/src/utils/vr-caps-detect.js b/src/utils/vr-caps-detect.js index 02b124b6498669e45e23d168365dcd019ea65207..3294820125788e0343eb5f70277eefc48b75a2c2 100644 --- a/src/utils/vr-caps-detect.js +++ b/src/utils/vr-caps-detect.js @@ -73,9 +73,9 @@ export async function getAvailableVREntryTypes() { : VR_DEVICE_AVAILABILITY.yes; // HACK -- we prompt the user to install firefox if they click the VR button on a non-WebVR compatible - // browser. once we change this (ie when Chrome has VR support) then this check can be removed. Currently - // if you have FF on Mac/Linux you get the confusing flow of having a VR button but then being asked to - // download FF. + // browser. once we change this (ie when Chrome has VR support) then this check can be removed. Without this + // check if you have FF on Mac/Linux you'll get the confusing flow of having a VR button but then + // being asked to download FF. const isNonWebVRFirefox = !isWebVRCapableBrowser && isFirefoxBrowser; let generic = AFRAME.utils.device.isMobile() || isNonWebVRFirefox ? VR_DEVICE_AVAILABILITY.no : VR_DEVICE_AVAILABILITY.maybe;