marek 1 месяц назад
Родитель
Сommit
00711f03c9
1 измененных файлов с 1 добавлено и 1 удалено
  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, {
     type: 'bar',