Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

Remove jscache, add non-min nouislider css, fix class name - Remove jscache from package.jgon - Use non-minified nouislider css instead of minified - Fix class in palettes/legend.js

ZachTRiced349589508fe
diff --git a/package.json b/package.json
index c41127e04..559bd5a1c 100644
--- a/package.json
+++ b/package.json
@@ -110,7 +110,6 @@
},
"browser": {
"d3": "./web/ext/d3/d3.js",
- "jscache": "./web/ext/jscache-gitba01cdc/cache.js",
"isotope-layout": "./node_modules/isotope-layout/dist/isotope.pkgd.js",
"jquery": "./node_modules/jquery/dist/jquery.js"
},
diff --git a/web/css/main.css b/web/css/main.css
index 463c5d79e..d047f419a 100644
--- a/web/css/main.css
+++ b/web/css/main.css
@@ -10,7 +10,7 @@
@import url("../../node_modules/jquery.joyride/jquery.joyride.css");
@import url("../../node_modules/jquery-jcrop/css/jquery.Jcrop.css");
@import url("../../node_modules/ol/ol.css");
-@import url("../../node_modules/nouislider/distribute/jquery.nouislider.min.css");
+@import url("../../node_modules/nouislider/src/jquery.nouislider.css");
/* App CSS */
@import url("fonts.css");
diff --git a/web/js/palettes/legend.js b/web/js/palettes/legend.js
index 531b7a800..d273f9c2e 100644
--- a/web/js/palettes/legend.js
+++ b/web/js/palettes/legend.js
@@ -141,7 +141,7 @@ export function palettesLegend(spec) {
var label = legend.tooltips[classIndex];
label = (legend.units) ? label + ' ' + legend.units : label;
var $row = $('<div></div>')
- .addClass('$colorBox')
+ .addClass('wv-palettes-class-detail')
.attr('data-class-index', classIndex);
var $colorBox =
$row.append(