Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

WV-604: Fixed error where bind availability was not being checked properly

Mike McGann912e5d5579f4
diff --git a/src/js/Logging.js b/src/js/Logging.js
index b0b1a665f..21eb1782f 100644
--- a/src/js/Logging.js
+++ b/src/js/Logging.js
@@ -133,7 +133,7 @@
// If bind is defined, set the consoleObject this context to itself,
// i.e., console.log.bind(console);
var consoleFor = function(consoleObject, method) {
- return ( consoleObject.bind ) ? method.bind(consoleObject) : method;
+ return ( method.bind ) ? method.bind(consoleObject) : method;
};
/**