Selaa lähdekoodia

Merge pull request #5484 from dmarcos/dropsMozPrefix

navigator.mozGetVRDevices check is not necessary anymore since Firefox d...
Mr.doob 10 vuotta sitten
vanhempi
commit
c46643181d
1 muutettua tiedostoa jossa 0 lisäystä ja 4 poistoa
  1. 0 4
      examples/js/controls/VRControls.js

+ 0 - 4
examples/js/controls/VRControls.js

@@ -34,10 +34,6 @@ THREE.VRControls = function ( object, callback ) {
 
 		navigator.getVRDevices().then( onVRDevices );
 
-	} else if ( navigator.mozGetVRDevices !== undefined ) {
-
-		navigator.mozGetVRDevices( onVRDevices );
-
 	} else if ( callback !== undefined ) {
 
 		callback( 'Your browser is not VR Ready' );