Fix the button placement.
This commit is contained in:
Родитель
3b1e413b7e
Коммит
aaf5432dd6
|
@ -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
|
||||
let enterVRButton = document.createElement('button')
|
||||
target.appendChild(enterVRButton)
|
||||
document.getElementById('target').appendChild(enterVRButton)
|
||||
enterVRButton.innerHTML = 'enter vr'
|
||||
enterVRButton.addEventListener('click', ev => {
|
||||
window.pageApp.startPresenting()
|
||||
|
|
Загрузка…
Ссылка в новой задаче