diff options
| author | Danilo M. <danix@danix.xyz> | 2026-05-08 17:54:15 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-05-08 17:54:15 +0200 |
| commit | 76a42a9cea48ee1713b5b0318b09f9bd0bcba0cd (patch) | |
| tree | 7340c52c79aea80568ba3cc5837a72b505eb4ac7 /assets | |
| parent | a865dcbb69b0541ccdab941eede8c3005dfed9c7 (diff) | |
| download | danixxyz-theme-76a42a9cea48ee1713b5b0318b09f9bd0bcba0cd.tar.gz danixxyz-theme-76a42a9cea48ee1713b5b0318b09f9bd0bcba0cd.zip | |
fix: guard against double JS execution and fix partial page context
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'assets')
| -rw-r--r-- | assets/js/contribution-graph.js | 3 |
1 files changed, 3 insertions, 0 deletions
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 = { |
