瀏覽代碼

Updated jsm

Mr.doob 5 年之前
父節點
當前提交
78a51f5eb9
共有 1 個文件被更改,包括 1 次插入1 次删除
  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' );
 			var button = document.createElement( 'button' );
 			button.style.display = 'none';
 			button.style.display = 'none';