Steemnova - display correct technology on click in the techtree

in #utopian-io6 years ago (edited)

Bug Fixes

What was the issue(s)?

In the techtree you can click on a technology to display more informations about it.
image.png
image.png

But if you click on a required technology it shows more informations about the "main" technology instead of the required technology.

image.png

image.png

What was the solution?

In the file "styles/templates/game/page.techTree.default.tpl" I had to replace the variable $elementID with $requireID. Then the correct id will be used to open the dialog on click.

image.png

Github-Links

Repository

PullRequest



Posted on Utopian.io - Rewarding Open Source Contributors

Sort:  

Thank you for the contribution. It has been approved.

You can contact us on Discord.
[utopian-moderator]

Thanks! :)

Hey @mwfiae I am @utopian-io. I have just upvoted you!

Achievements

  • You have less than 500 followers. Just gave you a gift to help you succeed!
  • Seems like you contribute quite often. AMAZING!

Community-Driven Witness!

I am the first and only Steem Community-Driven Witness. Participate on Discord. Lets GROW TOGETHER!

mooncryption-utopian-witness-gif

Up-vote this comment to grow my power and help Open Source contributions like this one. Want to chat? Join me on Discord https://discord.gg/Pc8HG9x

Coin Marketplace

STEEM 0.20
TRX 0.13
JST 0.030
BTC 63974.07
ETH 3426.40
USDT 1.00
SBD 2.54