Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

removed duplicate update call that was rendering new layer palettes twice. This duplicate call was preventing mouse events from working correctly. #105

Benjamin2a167522e92e
diff --git a/web/js/palettes/wv.palettes.legend.js b/web/js/palettes/wv.palettes.legend.js
index 1dc642aab..919601c11 100644
--- a/web/js/palettes/wv.palettes.legend.js
+++ b/web/js/palettes/wv.palettes.legend.js
@@ -38,7 +38,6 @@ wv.palettes.legend = wv.palettes.legend || function(spec) {
if ( !loaded ) {
loaded = true;
render();
- self.update();
if ( spec.onLoad ) {
spec.onLoad();
}