Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

WV-772 Orientation fix

Taylor Gunnoe44e3944ecbc9
diff --git a/src/js/util/wv.util.browser.js b/src/js/util/wv.util.browser.js
index 889c3fbd6..c4f912e92 100644
--- a/src/js/util/wv.util.browser.js
+++ b/src/js/util/wv.util.browser.js
@@ -403,8 +403,8 @@ if (!String.prototype.endsWith) {
$("#app, .ui-mobile, .ui-mobile .ui-page").css("min-height", 0);
}, false);
addEventListener("orientationchange", function() {
- setHeight();
window.scrollTo(0, 1);
+ setHeight();
}, false);
}