Mr.doob 5 rokov pred
rodič
commit
78a51f5eb9
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      examples/jsm/vr/WebVR.js

+ 1 - 1
examples/jsm/vr/WebVR.js

@@ -171,7 +171,7 @@ var WEBVR = {
 
 		}
 
-		if ( 'xr' in navigator && 'isSessionSupported' in navigator.xr ) {
+		if ( 'xr' in navigator ) {
 
 			var button = document.createElement( 'button' );
 			button.style.display = 'none';