Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

WV-2331: updateDate when toggling visibility (#3900)

Jason Kentc184a805c22d
diff --git a/web/js/map/ui.js b/web/js/map/ui.js
index 86c397cf0..688108cfe 100644
--- a/web/js/map/ui.js
+++ b/web/js/map/ui.js
@@ -232,7 +232,7 @@ export default function mapui(models, config, store) {
return updateDate(action.outOfStep);
case layerConstants.TOGGLE_LAYER_VISIBILITY:
case layerConstants.TOGGLE_OVERLAY_GROUP_VISIBILITY: {
- updateLayerVisibilities();
+ updateDate();
break;
}
case dateConstants.ARROW_DOWN: