Open zachlowry opened 11 years ago
Sounds like a good idea. But anFeature[cFeature][i].style.display
isn't always going to be set is it? Only if the display property has been calculated previously. Does it not need to be $(anFeature[cFeature][i]).css('display')
? I was a little concerned before about speed if there were a lot of elements on the page, but it is probably acceptable now.
That seems to work for me.
Elements that are hidden during the print function should be restored to their previous display value. Currently they are set to "block". I've included a patch below.
https://gist.github.com/zachlowry/5220953