ソースを参照

VRControls: Clean up.

Mr.doob 8 年 前
コミット
9f5f3b519e
1 ファイル変更1 行追加1 行削除
  1. 1 1
      examples/js/controls/VRControls.js

+ 1 - 1
examples/js/controls/VRControls.js

@@ -37,7 +37,7 @@ THREE.VRControls = function ( object, onError ) {
 
 	if ( navigator.getVRDisplays ) {
 
-		navigator.getVRDisplays().then( gotVRDisplays ).catch ( function () {
+		navigator.getVRDisplays().then( gotVRDisplays ).catch( function () {
 
 			console.warn( 'THREE.VRControls: Unable to get VR Displays' );