marek 1 hónapja
szülő
commit
00711f03c9
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      templates/sk/panel/stations/history/property.eta

+ 1 - 1
templates/sk/panel/stations/history/property.eta

@@ -114,7 +114,7 @@
     }
     }
   }
   }
 
 
-  const ctx = document.getElementById('historyChart');
+  const ctx = document.querySelector('#historyChart');
 
 
   new Chart(ctx, {
   new Chart(ctx, {
     type: 'bar',
     type: 'bar',