From 68009c0865472b73e1c7beae7b07f4be53efefc9 Mon Sep 17 00:00:00 2001 From: Kumi Date: Thu, 28 Nov 2024 15:12:53 +0100 Subject: [PATCH] fix: Removes unused Legend script Eliminates the inclusion of the Legend.min.js script as it is no longer needed in the mood section. This simplifies the codebase by removing dead code, ensuring that only essential scripts are loaded and potentially improving load performance. --- mood/features.py | 1 - 1 file changed, 1 deletion(-) diff --git a/mood/features.py b/mood/features.py index 18e6214..be294c4 100644 --- a/mood/features.py +++ b/mood/features.py @@ -36,7 +36,6 @@ mood_section.add_script(static("mood/dist/js/d3.v7.min.js")) mood_section.add_script(static("mood/dist/js/cal-heatmap.min.js")) mood_section.add_script(static("mood/dist/js/popper.min.mjs")) mood_section.add_script(static("mood/dist/js/Tooltip.min.js")) -mood_section.add_script(static("mood/dist/js/Legend.min.js")) mood_section.add_script(static("mood/dashboard.js"))