Browse Source

better solution for works height

master
Michael Winter 1 month ago
parent
commit
d792f9c9a0
1 changed files with 6 additions and 5 deletions
  1. +6
    -5
      public/javascripts/global.js

+ 6
- 5
public/javascripts/global.js View File

@@ -99,11 +99,12 @@ function resetDivHeights(){
//$('#pieces').height($('#releases').height());
//$('#releases').height($('#writings').height());

if($('#writings').height() >= $('#releases').height()){
$('#pieces').height($('#writings').height() + 200);
} else {
$('#pieces').height($('#releases').height());
}
$('#pieces').css('height', '1850px');
//if($('#writings').height() >= $('#releases').height()){
// $('#pieces').height($('#writings').height());
//} else {
// $('#pieces').height($('#releases').height());
//}

$('#talks').css('height', 'auto');
$('#performances').css('height', 'auto');

Loading…
Cancel
Save