Interactive interface for browsing global, full-resolution satellite imagery
prevent animation from getting caught in loop
Benjamin King6b67dd44d4e4
diff --git a/web/js/components/animation-widget/play-queue.js b/web/js/components/animation-widget/play-queue.jsindex e7b6c1a01..d9195116a 100644--- a/web/js/components/animation-widget/play-queue.js+++ b/web/js/components/animation-widget/play-queue.js@@ -490,8 +490,10 @@ class PlayAnimation extends React.Component {var currentPlayingDate = index;var currentPlayingDateJSDate;var player = () => {+ if (!this.mounted) return clearInterval(this.interval);this.shiftCache();this.checkQueue(queueLength, currentPlayingDate);+if (this.props.isPlaying) {selectDate(util.parseDateUTC(currentPlayingDate));}