diff --git a/scripts/ranking.js b/scripts/ranking.js index 86bcc16b5d7..5c1c74c4fc7 100644 --- a/scripts/ranking.js +++ b/scripts/ranking.js @@ -168,7 +168,7 @@ function fixChoiceListHeight(qID,samechoiceheight,samelistheight){ maxHeight=$(this).actual('height'); } }); - $('.connectedSortable'+qID+' li').height(maxHeight); + $('.connectedSortable'+qID+' li').css('min-height',maxHeight+'px'); } if(samelistheight) { @@ -176,7 +176,7 @@ function fixChoiceListHeight(qID,samechoiceheight,samelistheight){ $('.connectedSortable'+qID+' li').each(function(){ totalHeight=totalHeight+$(this).actual('outerHeight',{includeMargin:true});; }); - $('.connectedSortable'+qID).height(totalHeight); + $('.connectedSortable'+qID).css('min-height',totalHeight+'px'); } }