Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

Fixed resizing issue due to timeline misresizing rarely

Taylor Gunnoe6050336c085f
diff --git a/web/js/layers/wv.layers.active.js b/web/js/layers/wv.layers.active.js
index 32f1e43ea..d798929cc 100644
--- a/web/js/layers/wv.layers.active.js
+++ b/web/js/layers/wv.layers.active.js
@@ -278,8 +278,10 @@ wv.layers.active = wv.layers.active || function(models, ui, config) {
offset.top - secSize - 10 - 5;
}
else {
+ //FIXME: Hack, the timeline sometimes renders twice as large of a height and
+ //creates a miscalculation here for timeSize
maxHeight = winSize - headSize - footSize -
- offset.top - timeSize - secSize - 10 - 5;
+ offset.top - /*timeSize*/ 67 - secSize - 10 - 5;
}
$("section#productsHolder #products").css("max-height", maxHeight);