From 62246f342d225af58fcd83f0f85e1a3777b447ae Mon Sep 17 00:00:00 2001 From: Kenneth SOARES Date: Wed, 5 Mar 2025 20:19:11 +0100 Subject: [PATCH] removed unnecessary event listener --- core/static/bundled/country-flags-index.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/core/static/bundled/country-flags-index.ts b/core/static/bundled/country-flags-index.ts index 96871309..1dc005c3 100644 --- a/core/static/bundled/country-flags-index.ts +++ b/core/static/bundled/country-flags-index.ts @@ -1,5 +1,3 @@ import { polyfillCountryFlagEmojis } from "country-flag-emoji-polyfill"; -window.addEventListener("DOMContentLoaded", () => { - polyfillCountryFlagEmojis(); -}); +polyfillCountryFlagEmojis();