Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

WV-1368 Fixed exception with pick scrubbing outside of timeline range

Taylor Gunnoeaa24af597586
diff --git a/web/js/date/wv.date.timeline.pick.js b/web/js/date/wv.date.timeline.pick.js
index 0ab928d20..80d77eb46 100644
--- a/web/js/date/wv.date.timeline.pick.js
+++ b/web/js/date/wv.date.timeline.pick.js
@@ -58,7 +58,7 @@ wv.date.timeline.pick = wv.date.timeline.pick || function(models, config, ui) {
tipDate = new Date( Date.UTC( tl.data.end().getUTCFullYear(),
model.selected.getUTCMonth(),
model.selected.getUTCDate() ) );
- self.offset = tl.x(pickTipDate) - width / 2;
+ self.offset = tl.x(tipDate) - width / 2;
change.call(this);
updateChanges(tempPickTipDate);
}