fix: wrap map+chart scripts in DOMContentLoaded (load order)
All checks were successful
Deploy Internet for Kids / Build & Push (push) Successful in 13s
Deploy Internet for Kids / Deploy (push) Successful in 6s
Deploy Internet for Kids / Health Check (push) Successful in 2s
Deploy Internet for Kids / Smoke Tests (push) Successful in 3s
Deploy Internet for Kids / IndexNow Ping (push) Successful in 8s
Deploy Internet for Kids / Promote to Latest (push) Successful in 1s
Deploy Internet for Kids / Rollback (push) Has been skipped
Deploy Internet for Kids / Audit (push) Successful in 2s

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Christian Gick
2026-04-03 14:22:19 +03:00
parent a37d5bece6
commit 2954021f85
2 changed files with 4 additions and 4 deletions

View File

@@ -36,7 +36,7 @@
<script src="https://cdn.jsdelivr.net/npm/chart.js@4.4.7/dist/chart.umd.min.js"></script>
<script>
(function() {
document.addEventListener('DOMContentLoaded', function() {
var LANG = "{{ $lang }}";
var countries = {{ $countries | jsonify }};
@@ -120,5 +120,5 @@
plugins: { legend: { position: 'bottom', labels: { padding: 16, usePointStyle: true } } }
}
});
})();
});
</script>