Browse Source

VRControls: Clean up.

Mr.doob 8 years ago
parent
commit
9f5f3b519e
1 changed files with 1 additions and 1 deletions
  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' );