Skip to content

Commit cad3316

Browse files
author
jacquesbach
committed
Rename card shap details
1 parent f3dda72 commit cad3316

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

static/js/script.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -953,10 +953,7 @@ function showShapError(message) {
953953
}
954954

955955
function getTodayForecastPoint(forecastData) {
956-
957956
const todayStr = new Date().toISOString().split("T")[0];
958-
// → ergibt z.B. "2026-03-17"
959-
960957
return forecastData.find(d => d.date === todayStr);
961958
}
962959

@@ -1150,7 +1147,7 @@ async function loadForecast() {
11501147
const todayPoint = getTodayForecastPoint(data.forecast) || data.forecast[0];
11511148
if (todayPoint) {
11521149
showShapDetails(todayPoint);
1153-
document.getElementById("card-shap")?.style.display = "block";
1150+
document.getElementById("card-shap-details")?.style.display = "block";
11541151
};
11551152
}
11561153

0 commit comments

Comments
 (0)