Browse Source

VRControls: Clean up.

Mr.doob 8 năm trước cách đây
mục cha
commit
9f5f3b519e
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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' );