mirror of
https://github.com/pi-hole/web.git
synced 2025-12-24 20:55:28 +00:00
Use doublequote strings and add comment
Signed-off-by: Mark Drobnak <mark.drobnak@gmail.com>
This commit is contained in:
@@ -463,9 +463,10 @@ function updateClientsOverTime() {
|
||||
{
|
||||
clientsChart.data.datasets.push({
|
||||
data: [],
|
||||
// If we ran out of colors, make a random one
|
||||
backgroundColor: i < colors.length
|
||||
? colors[i]
|
||||
: '#' + parseInt("" + Math.random() * 0xffffff, 10).toString(16).padStart(6, "0"),
|
||||
: "#" + parseInt("" + Math.random() * 0xffffff, 10).toString(16).padStart(6, "0"),
|
||||
pointRadius: 0,
|
||||
pointHitRadius: 5,
|
||||
pointHoverRadius: 5,
|
||||
|
||||
Reference in New Issue
Block a user