diff --git a/heatmap/riskheatmap.js b/heatmap/riskheatmap.js index 835bc66..4b108d5 100644 --- a/heatmap/riskheatmap.js +++ b/heatmap/riskheatmap.js @@ -47,7 +47,9 @@ function toDegrees(rad) { } d3.json("risks.json", function(error, jsondata) { - console.log(error); + if ( error ){ + console.log(error); + } // three.js initialization var camera, renderer, controls;