Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

only show one debug alert when showError parameter is passed

Benjamin King57ab7fe8aadc
diff --git a/web/js/debug.js b/web/js/debug.js
index aafd4be21..4ec53eef0 100644
--- a/web/js/debug.js
+++ b/web/js/debug.js
@@ -15,15 +15,8 @@ export var debug = (function() {
self.loadDelay(delay);
} catch (error) {
console.warn('Invalid load delay: ' + delay);
- return;
}
}
-
- if (parameters.showError) {
- $(function() {
- util.error();
- });
- }
};
var delayedCallback = function(jqXHR, wrap, delay) {