jasonycw / TyphoonTycoon

In the year 21XX, the Li’s field (李氏力場) becomes reality, in a form of a tower defence system. The system seeks to weaken, if not totally destroy, incoming typhoons into Hong Kong. Li’s enterprise has appointed Player to control the typhoon defence system for Li. The game genre are strategy and tower defence game.
http://jasonycw.github.io/TyphoonTycoon/
MIT License
8 stars 3 forks source link

Tower description not showing when the player cannot build it #14

Closed vicksonzero closed 9 years ago

vicksonzero commented 9 years ago

jQuery is not firing the hover event when the build button is disabled. the player can only view the description when he can build it.

a solution will be making a customized disable and let the button be actually clickable

may look at vanilla hover event to see if it works