Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

WV-1272: Animation now stops when leaving the document

Mike McGannc3146fd5dfa4
diff --git a/web/js/date/wv.date.timeline.js b/web/js/date/wv.date.timeline.js
index 48603a25f..d70917121 100644
--- a/web/js/date/wv.date.timeline.js
+++ b/web/js/date/wv.date.timeline.js
@@ -1575,6 +1575,7 @@ wv.date.timeline = wv.date.timeline || function(models, config, ui) {
})
.mouseup(animateEnd);
$(document)
+ .mouseout(animateEnd)
.keydown(function(event) {
/*if ( event.target.nodeName === "INPUT" ) {
if((event.keyCode || event.which) === 9){