Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

fix swipe compare value setting event

Jason Kent13555c55d239
diff --git a/web/js/map/compare/swipe.js b/web/js/map/compare/swipe.js
index 0e2575f25..790f77d28 100644
--- a/web/js/map/compare/swipe.js
+++ b/web/js/map/compare/swipe.js
@@ -224,7 +224,7 @@ const dragLine = function(listenerObj, lineCaseEl, map) {
function end(evt) {
dragging = false;
events.trigger(
- 'moveend',
+ 'compare:moveend',
lodashRound((swipeOffset / mapCase.offsetWidth) * 100, 0),
);