Browse Source

Fix undefined 'row' in positionEras()

pull/345/head
Ian B 12 years ago
parent
commit
5418c54e24
  1. 3
      source/js/VMM.Timeline.TimeNav.js

3
source/js/VMM.Timeline.TimeNav.js

@ -859,6 +859,7 @@ if(typeof VMM.Timeline != 'undefined' && typeof VMM.Timeline.TimeNav == 'undefin
var era = era_markers[i],
pos = positionOnTimeline(interval, era.relative_pos),
row_pos = 0,
row = 0,
era_height = config.nav.marker.height * config.nav.rows.full.length,
era_length = pos.end - pos.begin;
@ -1618,4 +1619,4 @@ if(typeof VMM.Timeline != 'undefined' && typeof VMM.Timeline.TimeNav == 'undefin
};
}
}

Loading…
Cancel
Save