better solution for works height

legacy_v1
Michael Winter 4 years ago
parent 5a35abcd3b
commit d792f9c9a0

@ -99,11 +99,12 @@ function resetDivHeights(){
//$('#pieces').height($('#releases').height()); //$('#pieces').height($('#releases').height());
//$('#releases').height($('#writings').height()); //$('#releases').height($('#writings').height());
if($('#writings').height() >= $('#releases').height()){ $('#pieces').css('height', '1850px');
$('#pieces').height($('#writings').height() + 200); //if($('#writings').height() >= $('#releases').height()){
} else { // $('#pieces').height($('#writings').height());
$('#pieces').height($('#releases').height()); //} else {
} // $('#pieces').height($('#releases').height());
//}
$('#talks').css('height', 'auto'); $('#talks').css('height', 'auto');
$('#performances').css('height', 'auto'); $('#performances').css('height', 'auto');

Loading…
Cancel
Save