mstratman / jQuery-Smart-Wizard

flexible jQuery plug-in that gives wizard like interface
http://mstratman.github.com/jQuery-Smart-Wizard/
303 stars 164 forks source link

fixHeight should not consider hidden children #43

Open mstratman opened 11 years ago

mstratman commented 11 years ago

I have one suggestion about the fixHeight function. When the function calculate the children's height : the hidden element are count.

Maybe the line 394 : stepContainer.children().each(function() { can be : stepContainer.children().not(':hidden').each(function() {