vitaliy-p
2/13/2017 - 10:14 AM

equalHeight

equalHeight

function setEqualHeight(columns) {
    var tallestcolumn = 0;
    columns.each(
        function() {
            currentHeight = $(this).height();
            if(currentHeight > tallestcolumn) {
                tallestcolumn = currentHeight;
            }
        }
    );
    columns.height(tallestcolumn);
}
setEqualHeight($(".review__cnt"));