소스 검색

fix graphs

marek 1 개월 전
부모
커밋
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',