Interactive interface for browsing global, full-resolution satellite imagery
Make units consistent #766
Benjamin8c1ca63e9b97
diff --git a/web/js/animation/gif.js b/web/js/animation/gif.jsindex 050db3c8d..2956d191d 100644--- a/web/js/animation/gif.js+++ b/web/js/animation/gif.js@@ -611,8 +611,7 @@ export function animationGif(models, config, ui) {animatedImage.width = animationCoordinates.w;animatedImage.height = animationCoordinates.h;var dlURL = util.format('nasa-worldview-{1}-to-{2}.gif', animModel.rangeState.startDate, animModel.rangeState.endDate);- var downloadSize = (blob.size / 1024)- .toFixed();+ var downloadSize = lodashRound((blob.size / 1024 * 0.001), 2);// Create download link and apply button CSSvar $download = $('<a><span class=ui-button-text>Download</span></a>')@@ -639,7 +638,7 @@ export function animationGif(models, config, ui) {'Size: ' +'</b></div>' +'<div>' +- downloadSize + ' KB' ++ downloadSize + ' MB' +'</div>' +'</div>' +'<div>' +