Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

Fix label not showing up on classifications

Taylor Gunnoee6d155e4a20c
diff --git a/web/js/palettes/wv.palettes.legend.js b/web/js/palettes/wv.palettes.legend.js
index 10cd45a5d..4a46b90c7 100644
--- a/web/js/palettes/wv.palettes.legend.js
+++ b/web/js/palettes/wv.palettes.legend.js
@@ -136,7 +136,7 @@ wv.palettes.legend = wv.palettes.legend || function(spec) {
});
var $detailPanel = $("<div></div>");
_.each(legend.colors, function(color, classIndex) {
- var label = legend.labels[classIndex];
+ var label = legend.tooltips[classIndex];
label = (legend.units) ? label + " " + legend.units : label;
var $row = $("<div></div>")
.addClass("wv-palettes-class-detail")