Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

only call console.log if its available

  • Loading branch information...
commit dca392ac9f418bdc5b92ce6b1e0cc13a42e94332 1 parent 74392a5
Christoffer Buchholz ChrisBuchholz authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  js/map.js
2  js/map.js
@@ -164,7 +164,7 @@ jQuery(function($) {
164 164 * @param msg
165 165 */
166 166 var ReportError = function(msg) {
167   - console.log(msg);
  167 + if (window.console) console.log(msg);
168 168 };
169 169
170 170 return function() {

0 comments on commit dca392a

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