Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

Don't retain value when changing A|B mode #1118

Benjamin King28b1944a9809
diff --git a/web/js/map/compare/compare.js b/web/js/map/compare/compare.js
index 6f671c236..923ac33c5 100644
--- a/web/js/map/compare/compare.js
+++ b/web/js/map/compare/compare.js
@@ -77,6 +77,7 @@ export function mapCompare(models, config) {
};
self.destroy = function() {
comparison.destroy();
+ models.compare.setValue(null); // Remove Value from state
comparison = null;
self.active = false;
};