提交 3bc748ea 编写于 作者: M Mr.doob

Fixed WebVR.isAvailable.

上级 6d0ea9b5
......@@ -7,7 +7,7 @@ var WEBVR = {
isAvailable: function () {
return navigator.getVRDisplays;
return navigator.getVRDisplays !== undefined;
},
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册