Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

removed duplicate model loader, was being called twice

Benjamin652ff22eca0b
diff --git a/web/js/animation/wv.anim.model.js b/web/js/animation/wv.anim.model.js
index 6caf2e15a..eeef385f1 100644
--- a/web/js/animation/wv.anim.model.js
+++ b/web/js/animation/wv.anim.model.js
@@ -39,9 +39,6 @@ wv.anim.model = wv.anim.model || function(models, config) {
*
*/
self.load = function(state, errors) {
- //is running twice on page load?????
- //console.log('loading');
-
self.rangeState = self.rangeState || {};
// self.rangeState.playing = false;
// if(state.a) {
diff --git a/web/js/wv.main.js b/web/js/wv.main.js
index 676e20a2e..322259502 100644
--- a/web/js/wv.main.js
+++ b/web/js/wv.main.js
@@ -128,7 +128,6 @@ $(function() {
.register(models.palettes)
.register(models.map)
.register(models.anim);
- models.link.load(state);
// HACK: Map needs to be created before the data download model
ui.map = wv.map.ui(models, config, wv.map.rotate, wv.map.runningdata);