There was an error while loading. Please reload this page.
1 parent 41aed67 commit 80e7366Copy full SHA for 80e7366
index.js
@@ -26,9 +26,10 @@ AFRAME.registerComponent('ui-modal', {
26
27
init: function() {
28
29
+console.log(this.data.src);
30
document.querySelector(this.data.src).addEventListener(this.data.show, this.show.bind(this));
31
document.querySelector(this.data.src).addEventListener(this.data.hide, this.hide.bind(this));
-console.log(this.data.src);
32
+
33
this.cameraEl = document.querySelector('a-entity[camera]');
34
35
this.yaxis = new THREE.Vector3(0, 1, 0);
0 commit comments