diff options
| author | Zog | 2018-04-26 11:07:00 +0200 | 
|---|---|---|
| committer | Zog | 2018-04-26 11:07:00 +0200 | 
| commit | 22430fd5f3356986afa784956d89b030646497d1 (patch) | |
| tree | d9673439fa232c75638d392d90fc70377af6f126 /app/javascript/journey_patterns | |
| parent | 0becfb7afdc1e439059c1f82ef6860c1c52d7fd6 (diff) | |
| download | chouette-core-22430fd5f3356986afa784956d89b030646497d1.tar.bz2 | |
Refs #6486; Fix bumpy front
Diffstat (limited to 'app/javascript/journey_patterns')
| -rw-r--r-- | app/javascript/journey_patterns/components/JourneyPatterns.js | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/app/javascript/journey_patterns/components/JourneyPatterns.js b/app/javascript/journey_patterns/components/JourneyPatterns.js index 91c783189..a16f2a661 100644 --- a/app/javascript/journey_patterns/components/JourneyPatterns.js +++ b/app/javascript/journey_patterns/components/JourneyPatterns.js @@ -25,13 +25,13 @@ export default class JourneyPatterns extends Component {          var refCol = []          $(this).find('.t2e-head').children('div').each(function() { -          var h = $(this).outerHeight(); +          var h = this.getBoundingClientRect().height;            refH.push(h)          });          var i = 0          $(this).find('.t2e-item').children('div').each(function() { -          var h = $(this).outerHeight(); +          var h = this.getBoundingClientRect().height;            if(refCol.length < refH.length){              refCol.push(h)            } else { | 
