aboutsummaryrefslogtreecommitdiffstats
path: root/web_src/js/features/heatmap.js
diff options
context:
space:
mode:
Diffstat (limited to 'web_src/js/features/heatmap.js')
-rw-r--r--web_src/js/features/heatmap.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/web_src/js/features/heatmap.js b/web_src/js/features/heatmap.js
index 719eeb75fb..9155e844a2 100644
--- a/web_src/js/features/heatmap.js
+++ b/web_src/js/features/heatmap.js
@@ -3,7 +3,7 @@ import ActivityHeatmap from '../components/ActivityHeatmap.vue';
import {translateMonth, translateDay} from '../utils.js';
export function initHeatmap() {
- const el = document.getElementById('user-heatmap');
+ const el = document.querySelector('#user-heatmap');
if (!el) return;
try {