Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

only call console.log if its available

  • Loading branch information...
commit dca392ac9f418bdc5b92ce6b1e0cc13a42e94332 1 parent 74392a5
@ChrisBuchholz ChrisBuchholz authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  js/map.js
View
2  js/map.js
@@ -164,7 +164,7 @@ jQuery(function($) {
* @param msg
*/
var ReportError = function(msg) {
- console.log(msg);
+ if (window.console) console.log(msg);
};
return function() {

0 comments on commit dca392a

Please sign in to comment.
Something went wrong with that request. Please try again.