We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6ae4ce8 commit b2c1c83Copy full SHA for b2c1c83
2 files changed
static/js/script.js
@@ -732,7 +732,11 @@ document.getElementById("heatmapYearSelect")
732
733
document.addEventListener("DOMContentLoaded", initHeatmapYears);
734
735
+let heatmapInitialized = false;
736
+
737
async function initHourlyHeatmap() {
738
+ if (heatmapInitialized) return;
739
+ heatmapInitialized = true;
740
const res = await fetch("/api/heatmap_hourly");
741
const data = await res.json();
742
templates/index.html
@@ -162,7 +162,7 @@ <h1>
162
</div>
163
164
165
- <strong>test</strong>
166
<div class="grid-stack-item" id="card-hourly-heatmap" gs-w="15" gs-h="7">
167
<div class="grid-stack-item-content">
168
<div class="card card-light heatmap-card" style="height: 100%; box-sizing: border-box; position: relative;">
0 commit comments