Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

removed timeout from loop

Benjamin3aacc5e3c2e2
diff --git a/web/js/animation/wv.anim.ui.js b/web/js/animation/wv.anim.ui.js
index 86ea6da8a..430d7ee96 100644
--- a/web/js/animation/wv.anim.ui.js
+++ b/web/js/animation/wv.anim.ui.js
@@ -187,11 +187,9 @@ wv.anim.ui = wv.anim.ui || function(models, ui) {
};
self.checkShouldLoop = function() {
if(animModel.rangeState.loop) {
- setTimeout( function() {
- self.shiftCache();
- self.checkShouldPlay();
- self.checkQueue(queueLength,self.state.playIndex);
- }, 1000 / animModel.rangeState.speed);
+ self.shiftCache();
+ self.checkShouldPlay();
+ self.checkQueue(queueLength,self.state.playIndex);
} else {
self.refreshState();
animModel.events.trigger('change');