cohen990 / VoxPop

The voice of the people in pictures!
0 stars 0 forks source link

168 hover over #180

Closed AJizzleBizzle closed 9 years ago

AJizzleBizzle commented 9 years ago

Fixes #168

I've edited the JS to use the votebuttons box ID's to listen for hover events and trigger their charts to act as if the respective segments are being hovered over as well.

This caused 'data' properties to double in modal voting windows. I think this is as the JS for the hover link is call by 'GenerateChart()' and the modal windows use the same function. Anyway have edited 'GetPreparedData()' to check for and kill off any extra unwarranted entries in 'data'.