diff --git a/public/webXR/three.html b/public/webXR/three.html
index 1caad157be59261f1a130af72305dfc1c7c3dcf5..42b9d47f8f2e42d60362f078f3b7fe0b8dd4d110 100644
--- a/public/webXR/three.html
+++ b/public/webXR/three.html
@@ -13,9 +13,7 @@
 
 <!-- Starting an immersive WebXR session requires user interaction.
     We start this one with a simple button. -->
-<button onclick="activateXR()">Start Cube Demo</button>
 <script>
-async function activateXR() {
   // ------------------------------------------------
 // BASIC SETUP
 // ------------------------------------------------
@@ -64,7 +62,6 @@ var render = function () {
 
 render();
 
-}
 </script>
 </body>
 </html>