瀏覽代碼

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',