Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

Prevent tour window from appearing in incorrect position - Increase validScreenSize width detection to prevent the tour window from appearing on devices with too small of an area for the window to fit correctly.

ZachTRicec05378a42af4
diff --git a/web/js/tour.js b/web/js/tour.js
index 5c2b0c19e..e1f09c1cb 100644
--- a/web/js/tour.js
+++ b/web/js/tour.js
@@ -236,7 +236,7 @@ export default function (models, ui, config) {
.width();
var viewHeight = $(window)
.height();
- return viewWidth >= 768 && viewHeight >= 680;
+ return viewWidth > 800 && viewHeight > 680;
};
init();