Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

pass correct proptype #1234

Benjamin King7452456387d3
diff --git a/web/js/map/compare/opacity.js b/web/js/map/compare/opacity.js
index 8dd4a6387..f89330efb 100644
--- a/web/js/map/compare/opacity.js
+++ b/web/js/map/compare/opacity.js
@@ -10,7 +10,7 @@ export class Opacity {
this.map = olMap;
this.compareEvents = events;
this.sliderCase = document.createElement('div');
- value = valueOverride || value;
+ value = Number(valueOverride) || value;
this.create();
}
create() {