Skip to content

Commit

Permalink
Fixed issue #08843: overflow in dragdrop box
Browse files Browse the repository at this point in the history
Dev: min-heigth is unknow only by IE6
  • Loading branch information
Shnoulle committed Mar 18, 2014
1 parent 126cc8f commit bf9df5b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/ranking.js
Expand Up @@ -168,15 +168,15 @@ function fixChoiceListHeight(qID,samechoiceheight,samelistheight){
maxHeight=$(this).actual('height');
}
});
$('.connectedSortable'+qID+' li').height(maxHeight);
$('.connectedSortable'+qID+' li').css('min-height',maxHeight+'px');
}
if(samelistheight)
{
var totalHeight=0;
$('.connectedSortable'+qID+' li').each(function(){
totalHeight=totalHeight+$(this).actual('outerHeight',{includeMargin:true});;
});
$('.connectedSortable'+qID).height(totalHeight);
$('.connectedSortable'+qID).css('min-height',totalHeight+'px');
}
}

Expand Down

0 comments on commit bf9df5b

Please sign in to comment.