2
0
Эх сурвалжийг харах

Update HelioWebXRPolyfill.js

Morgan Villedieu 6 жил өмнө
parent
commit
c6fbe3c211

+ 1 - 1
examples/js/vr/HelioWebXRPolyfill.js

@@ -2,7 +2,7 @@
  * @author mvilledieu / http://github.com/mvilledieu
  */
 
-if ('xr' in navigator && /(Helio)/g.test(navigator.userAgent)) {
+if (/(Helio)/g.test(navigator.userAgent) && 'xr' in navigator) {
 
 	console.log('Helio WebXR Polyfill', navigator.xr);