bxslider-3
bxslider-3 copied to clipboard
Height fix
Added fix in case if blocks has different heights
Hi ! I have noticed a problem with this trick : when blocks contain only pictures, these ones are not loaded yet during getHighestChild() exectution. So this one can't calculate outerHeight, returns "undefined" and crashes the getWrapperHeight() function :/
Hi! What do you mean: "not loaded yet during getHighestChild() exectution" ??? It's calling on document ready, how they can't be loaded ? O_o Any way, if we assume that it is not loaded on execution of getWrapperHeight() there will be the same effect because this will return undefined for the first children, right? So it's not my bug.
Now fixed bug!