Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

Mock ECHO client was using the debugging globals that it really shouldn't be using

Mike McGann1694ad1bee89
diff --git a/src/js/data/wv.data.echo.js b/src/js/data/wv.data.echo.js
index bd534f7fe..3aca96ee0 100644
--- a/src/js/data/wv.data.echo.js
+++ b/src/js/data/wv.data.echo.js
@@ -182,7 +182,7 @@ wv.data.echo.mockClient = function(suffix) {
};
var adjustResults = function(parameters, data) {
- var day = wv.models.date.selected;
+ var day = wvx.models.date.selected;
// Mock data was retrieved for Aug 6, 2013
var resultsDay = new Date(Date.UTC(2013, 7, 6));
var diffDays = (day - resultsDay) / (1000 * 60 * 60 * 24);