From d6aa7f102d44ee43e281ea44a2eb6e6614a928a3 Mon Sep 17 00:00:00 2001 From: Greg Fodor <gfodor@gmail.com> Date: Thu, 26 Jul 2018 23:32:54 +0000 Subject: [PATCH] Fix comment --- src/utils/vr-caps-detect.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/utils/vr-caps-detect.js b/src/utils/vr-caps-detect.js index 02b124b64..329482012 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; -- GitLab