Interactive interface for browsing global, full-resolution satellite imagery
Add check for `selectedDateObj`
ZachTRicef8a69cd5aee5
diff --git a/web/js/date/timeline-input.js b/web/js/date/timeline-input.jsindex 60b4aaf35..6a5e487b0 100644--- a/web/js/date/timeline-input.js+++ b/web/js/date/timeline-input.js@@ -269,6 +269,7 @@ export function timelineInput(models, config, ui) {(new Date(model.selected)).setUTCMinutes(newInput));}+ break;}if ((selectedDateObj > tl.data.start()) &&(selectedDateObj <= util.today())) {@@ -281,7 +282,7 @@ export function timelineInput(models, config, ui) {.focus();}- model.select(selectedDateObj);+ if (selectedDateObj) model.select(selectedDateObj);$('.button-input-group').parent()