Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

Check for metrics module no longer fails when not defined

Mike McGann19f5a06d743b
diff --git a/src/js/util/wv.util.js b/src/js/util/wv.util.js
index fd9643d99..bd25d5105 100644
--- a/src/js/util/wv.util.js
+++ b/src/js/util/wv.util.js
@@ -445,7 +445,7 @@ wv.util = (function(self) {
};
self.metrics = function() {
- if ( ntptEventTag ) {
+ if ( window.ntptEventTag ) {
ntptEventTag.apply(null, arguments);
} else {
console.log("no metrics");