mirror of
https://github.com/pi-hole/web.git
synced 2025-12-20 02:38:28 +00:00
@@ -14,10 +14,10 @@ var cacheSize = 0,
|
||||
|
||||
// Register the ChartDeferred plugin to all charts:
|
||||
Chart.register(ChartDeferred);
|
||||
Chart.defaults.set('plugins.deferred', {
|
||||
yOffset: '50%',
|
||||
delay: 500
|
||||
})
|
||||
Chart.defaults.set("plugins.deferred", {
|
||||
yOffset: "50%",
|
||||
delay: 500,
|
||||
});
|
||||
|
||||
function updateCachePie(data) {
|
||||
var v = [],
|
||||
@@ -78,8 +78,7 @@ function updateCachePie(data) {
|
||||
$("#cache-pie-chart .overlay").hide();
|
||||
// Passing 'none' will prevent rotation animation for further updates
|
||||
//https://www.chartjs.org/docs/latest/developers/updates.html#preventing-animations
|
||||
cachePieChart.update('none');
|
||||
|
||||
cachePieChart.update("none");
|
||||
}
|
||||
|
||||
function updateHostInfo() {
|
||||
|
||||
Reference in New Issue
Block a user