Click function doesn't work in index.js


See my building project on this URL:

If you inspect the index.js file you see I set an alert(“clicked”);
when the user clicks the ‘Windows’ toggle. But the alert doesn’t show up.
After that the windows of the plane should be hidden. Why does this work on my laptop locally but not on a live website??

Hope you guys can help me!



forbbiden options makes viewer api inoperable.
remove “internal: 1” and it should work

Ah thanks!!
Looked so long for this tiny rule haha.