Selaa lähdekoodia

VRControls: Clean up.

Mr.doob 8 vuotta sitten
vanhempi
commit
9f5f3b519e
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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' );