Browse Source

fix graphs

marek 1 tháng trước cách đây
mục cha
commit
00711f03c9
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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',