Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

Added another patch to prevent minor errors for debug instances

Ryan Bollerddfff2992928
diff --git a/web/js/map/wv.map.ui.js b/web/js/map/wv.map.ui.js
index 5163b5a92..a4a53e725 100644
--- a/web/js/map/wv.map.ui.js
+++ b/web/js/map/wv.map.ui.js
@@ -839,7 +839,9 @@ wv.map.ui = wv.map.ui || function(models, config, components) {
if( self.mapIsbeingDragged || wv.util.browser.small) {
return;
}
- if(typeof models.naturalEvents == 'undefined' || models.naturalEvents.active || models.data.active) {
+ if(typeof models.naturalEvents == 'undefined' ||
+ typeof models.data == 'undefined' ||
+ models.naturalEvents.active || models.data.active) {
return;
}
if( models.anim ) {