Browse Source

Fix undefined 'row' in positionEras()

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

1
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], var era = era_markers[i],
pos = positionOnTimeline(interval, era.relative_pos), pos = positionOnTimeline(interval, era.relative_pos),
row_pos = 0, row_pos = 0,
row = 0,
era_height = config.nav.marker.height * config.nav.rows.full.length, era_height = config.nav.marker.height * config.nav.rows.full.length,
era_length = pos.end - pos.begin; era_length = pos.end - pos.begin;

Loading…
Cancel
Save