Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

Small fix to return the inline granule selection to how it was

Taylor Gunnoe1b620f8687c7
diff --git a/src/css/dataDownload.css b/src/css/dataDownload.css
index e05e960dc..086947c42 100644
--- a/src/css/dataDownload.css
+++ b/src/css/dataDownload.css
@@ -212,8 +212,6 @@
text-align: center;
color: #000;
font-weight: bold;
- display:block;
- text-align:right;
- float:right;
- margin:5px 10px 0 0;
+ display:inline-block;
+ margin:0 10px 0 5px;
}
diff --git a/src/js/Worldview/Widget/DataDownload.js b/src/js/Worldview/Widget/DataDownload.js
index dcafc022c..de2731baa 100644
--- a/src/js/Worldview/Widget/DataDownload.js
+++ b/src/js/Worldview/Widget/DataDownload.js
@@ -143,18 +143,16 @@ Worldview.Widget.DataDownload = function(config, spec) {
var $header = $("<h3></h3>")
.addClass("head")
.html(title);
-
if ( !value.notSelectable ) {
var $selectedCount = $("<i></i>")
.attr("id", key + "dynamictext")
.addClass("dynamic")
.html("0 selected");
- $header.append($selectedCount);
var $productSelector = $("<input type='radio'></input>")
.attr("value", key)
.attr("data-product", key);
- $header.prepend($productSelector);
+ $header.prepend($productSelector).append($selectedCount);
}
if ( model.selectedProduct === key ) {
$productSelector.each(function(){
@@ -175,7 +173,7 @@ Worldview.Widget.DataDownload = function(config, spec) {
this.checked = true;
});
})
- .append($selectedCount).append($header);
+ .append($header);
$content.append($contentDlGroup);