Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

change custom interval parse return to number

Edward Plato544fed59d6f0
diff --git a/web/js/location.js b/web/js/location.js
index 7fa1f12a0..63088e8ba 100644
--- a/web/js/location.js
+++ b/web/js/location.js
@@ -211,7 +211,7 @@ const getParameters = function(config, parameters) {
return customInterval.toString();
},
parse: val => {
- return val.toString();
+ return Number(val);
}
}
},