From 76a42a9cea48ee1713b5b0318b09f9bd0bcba0cd Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Fri, 8 May 2026 17:54:15 +0200 Subject: fix: guard against double JS execution and fix partial page context Co-Authored-By: Claude Sonnet 4.6 --- assets/js/contribution-graph.js | 3 +++ 1 file changed, 3 insertions(+) (limited to 'assets') diff --git a/assets/js/contribution-graph.js b/assets/js/contribution-graph.js index ccf4a7f..cd6dfdc 100644 --- a/assets/js/contribution-graph.js +++ b/assets/js/contribution-graph.js @@ -1,6 +1,9 @@ (function () { 'use strict'; + if (window._contribGraphLoaded) return; + window._contribGraphLoaded = true; + var MONTHS = ['Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec']; var I18N = { -- cgit v1.2.3