提交 407bec5f 编写于 作者: D Diego Marcos

navigator.mozGetVRDevices check is not necessary anymore since Firefox dropped the prefix

上级 19fa9b91
......@@ -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' );
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册