There was an error while loading. Please reload this page.
1 parent 998f9be commit 06dffb7Copy full SHA for 06dffb7
index.js
@@ -26,8 +26,8 @@ AFRAME.registerComponent('ui-modal', {
26
27
init: function() {
28
29
- document.querySelector(data.src).addEventListener(this.data.show, this.show.bind(this));
30
- document.querySelector(data.src).addEventListener(this.data.hide, this.hide.bind(this));
+ document.querySelector(this.data.src).addEventListener(this.data.show, this.show.bind(this));
+ document.querySelector(this.data.src).addEventListener(this.data.hide, this.hide.bind(this));
31
32
this.cameraEl = document.querySelector('a-entity[camera]');
33
0 commit comments