From 5da4099bd3f286c32053dd57bd044ee75c40df11 Mon Sep 17 00:00:00 2001 From: DL6ER Date: Sun, 20 Nov 2016 14:24:32 +0100 Subject: [PATCH] Strings -> doublequote --- js/pihole/index.js | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/js/pihole/index.js b/js/pihole/index.js index 4356c933..40dba54e 100644 --- a/js/pihole/index.js +++ b/js/pihole/index.js @@ -27,7 +27,7 @@ $(document).ready(function() { var animate = false; var ctx = document.getElementById("queryOverTimeChart").getContext("2d"); timeLineChart = new Chart(ctx, { - type: 'line', + type: "line", data: { labels: [], datasets: [ @@ -41,7 +41,7 @@ $(document).ready(function() { pointHoverRadius: 5, data: [], pointHitRadius: 5, - cubicInterpolationMode: 'monotone' + cubicInterpolationMode: "monotone" }, { label: "Blocked DNS Queries", @@ -53,15 +53,14 @@ $(document).ready(function() { pointHoverRadius: 5, data: [], pointHitRadius: 5, - cubicInterpolationMode: 'monotone' + cubicInterpolationMode: "monotone" } ] }, options: { tooltips: { enabled: true, - mode: 'x-axis', - position: 'nearest', + mode: "x-axis", callbacks: { title: function(tooltipItem, data) { var idx = tooltipItem[0].index @@ -99,7 +98,7 @@ $(document).ready(function() { ctx = document.getElementById("queryTypeChart").getContext("2d"); queryTypeChart = new Chart(ctx, { - type: 'doughnut', + type: "doughnut", data: { labels: [], datasets: [{ data: [] }] @@ -117,7 +116,7 @@ $(document).ready(function() { ctx = document.getElementById("forwardDestinationChart").getContext("2d"); forwardDestinationChart = new Chart(ctx, { - type: 'doughnut', + type: "doughnut", data: { labels: [], datasets: [{ data: [] }]