game.js - addTooltip is not working properly

Game development with Board Game Arena Studio
Post Reply
Cowseye
Posts: 26
Joined: 11 August 2013, 17:33

game.js - addTooltip is not working properly

Post by Cowseye »

Dear all,

I had encountered a problem that my tooltip could not be added to jstpl objects I had created.

Here are some facts:
1. I had confirm the text I wished to add has been passed to the frontend. They can be found when I view source on the webpage.
2. I had confirm the ids of the jstpl objects that I am trying to add the tooltip to are unique throughout the entire page.
3. Up to this point, I had added tooltips for all of other jstpl & non-jstpl components, they still can be loaded.
4. The current tooltip that I could not add tooltip were added run within a loop during setupgame in game.js, there were other components that had been added tooltip just before this segment of codes are being added. The weirdest part is, it works on the first jstpl object but fails on all others as the loop loops.

Anyone has any insight on this?
Cowseye
Posts: 26
Joined: 11 August 2013, 17:33

Re: game.js - addTooltip is not working properly

Post by Cowseye »

Problem resolved.

Thanks for your attention.
Post Reply

Return to “Developers”