After clicking a hotspot with the additional .onClick.add method, the next hotspot you click will trigger the same function even though it does not have any additional click functions added to it.
Example : Click on hotspot A, displays modal window. Click on hotspot B, opens up hotspots A modal window. Click on hotspot B again, then it correctly goes to the next scene.
Code: Select all
var hotspotId = onClickEvent.emitter.uid;