Skip to content
Snippets Groups Projects
Commit d6aa7f10 authored by Greg Fodor's avatar Greg Fodor
Browse files

Fix comment

parent be5fc2a8
No related branches found
No related tags found
No related merge requests found
...@@ -73,9 +73,9 @@ export async function getAvailableVREntryTypes() { ...@@ -73,9 +73,9 @@ export async function getAvailableVREntryTypes() {
: VR_DEVICE_AVAILABILITY.yes; : VR_DEVICE_AVAILABILITY.yes;
// HACK -- we prompt the user to install firefox if they click the VR button on a non-WebVR compatible // 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 // browser. once we change this (ie when Chrome has VR support) then this check can be removed. Without this
// if you have FF on Mac/Linux you get the confusing flow of having a VR button but then being asked to // check if you have FF on Mac/Linux you'll get the confusing flow of having a VR button but then
// download FF. // being asked to download FF.
const isNonWebVRFirefox = !isWebVRCapableBrowser && isFirefoxBrowser; const isNonWebVRFirefox = !isWebVRCapableBrowser && isFirefoxBrowser;
let generic = let generic =
AFRAME.utils.device.isMobile() || isNonWebVRFirefox ? VR_DEVICE_AVAILABILITY.no : VR_DEVICE_AVAILABILITY.maybe; AFRAME.utils.device.isMobile() || isNonWebVRFirefox ? VR_DEVICE_AVAILABILITY.no : VR_DEVICE_AVAILABILITY.maybe;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment