Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

Fix layer-hover bug #1118

Benjamin Kingda8c7fb0c487
diff --git a/web/js/date/util.js b/web/js/date/util.js
index 8a033d4e8..e6f5cbc36 100644
--- a/web/js/date/util.js
+++ b/web/js/date/util.js
@@ -3,6 +3,7 @@ import $ from 'jquery';
export function timelineDataHightlight(layerId, isActivate) {
if (isActivate) {
+ $('.data-bar-hovered').removeClass('data-bar-hovered');
d3.select(
'#timeline-footer svg g.plot rect[data-layer="' + layerId + '"]'
).classed('data-bar-hovered', true);