From 9b779bed81f814d56b3ca7ab48b6c18666196dbf Mon Sep 17 00:00:00 2001 From: Kevin Lee <kevin@infinite-lee.com> Date: Thu, 10 May 2018 19:18:19 -0700 Subject: [PATCH] oops --- src/utils/vr-caps-detect.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/utils/vr-caps-detect.js b/src/utils/vr-caps-detect.js index 979fabd21..42f3c6676 100644 --- a/src/utils/vr-caps-detect.js +++ b/src/utils/vr-caps-detect.js @@ -44,6 +44,7 @@ export async function getAvailableVREntryTypes() { const isOculusBrowser = navigator.userAgent.match(/Oculus/); const isDaydreamCapableBrowser = !!(isWebVRCapableBrowser && browser.name === "chrome" && !isSamsungBrowser); const isIPhone = navigator.userAgent.match(/iPhone/); + const isFirefoxBrowser = navigator.userAgent.match(/Firefox/); let generic = VR_DEVICE_AVAILABILITY.no; let cardboard = VR_DEVICE_AVAILABILITY.no; -- GitLab