This commit is contained in:
Trevor F. Smith 2017-09-08 13:46:03 -07:00
Родитель 3b1e413b7e
Коммит aaf5432dd6
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -73,7 +73,7 @@
// HMDs require the call to start presenting to occur due to a user input event, so make a button to trigger that // HMDs require the call to start presenting to occur due to a user input event, so make a button to trigger that
let enterVRButton = document.createElement('button') let enterVRButton = document.createElement('button')
target.appendChild(enterVRButton) document.getElementById('target').appendChild(enterVRButton)
enterVRButton.innerHTML = 'enter vr' enterVRButton.innerHTML = 'enter vr'
enterVRButton.addEventListener('click', ev => { enterVRButton.addEventListener('click', ev => {
window.pageApp.startPresenting() window.pageApp.startPresenting()