Interactive interface for browsing global, full-resolution satellite imagery
change success calls to done
Mike McGann8f8c5a393bd7
diff --git a/web/js/layers/info.js b/web/js/layers/info.jsindex 94bf4a88b..5b9812848 100644--- a/web/js/layers/info.js+++ b/web/js/layers/info.js@@ -464,7 +464,7 @@ export function layersInfo(config, models, layer) {}if (layer.description) {- $.get('config/metadata/' + layer.description + '.html').success(function(+ $.get('config/metadata/' + layer.description + '.html').done(function(data) {$layerMeta.html(data);diff --git a/web/js/layers/modal.js b/web/js/layers/modal.jsindex 0d8916b26..0b86cd08d 100644--- a/web/js/layers/modal.js+++ b/web/js/layers/modal.js@@ -580,7 +580,7 @@ export function layersModal(models, ui, config) {// Simple test to see if theres a link to some metadataif (source.description) {- $.get('config/metadata/' + source.description + '.html').success(+ $.get('config/metadata/' + source.description + '.html').done(function(data) {$sourceMeta.html(data);$sourceContent.append($sourceMeta);