Steemnova - display correct technology on click in the techtree

in utopian-io •  7 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

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

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