Fixes an issue with parsing JSON on Firefox. Closes #941

This commit is contained in:
James Brooks
2015-09-10 21:25:10 +01:00
parent 2fbc044057
commit 536ae3502d

View File

@@ -39,7 +39,7 @@
(function () {
Chart.defaults.global.pointHitDetectionRadius = 1;
var charts = JSON.parse(document.getElementById('metricData').innerText);
var charts = JSON.parse(document.getElementById('metricData').text);
var defaultData = {
showTooltips: false,