Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

Fixed: - Time slider does not show up on initial load on Galaxy phone

Tilak Joshib3097c9e022d
diff --git a/js/main.js b/js/main.js
index e33b7ce9c..0488c0eaf 100644
--- a/js/main.js
+++ b/js/main.js
@@ -27,9 +27,12 @@ $(function() {// Initialize "static" vars
function setHeight($body) {
var new_height = $(window).height();
// if mobileSafari add +60px
- if (mobileSafari){ new_height += 60; };
- $body.css('min-height', 0 );
- $body.css('height', new_height );
+ if (mobileSafari){
+ new_height += 60;
+ $body.css('min-height', 0 );
+ $body.css('height', new_height );
+ };
+
}
setHeight( $('#mappage') );