You are viewing a single comment's thread from:
RE: Decentraland Tutorial: Creating a Music Jukebox
this.eventSubscriber.on('song${i}_click', () => ....
didn't work for me, i had to change it to:
this.eventSubscriber.on('song' + i + '_click', () => ....
It's hard to see, but it's using a different kind of quote. For the former, you must use the 'grave key' (it's a single quote with an angle) ` vs '
hth