added dummy script tag to prevent FOUC (#34329)

fixes: #33793

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
This commit is contained in:
Erik Jan de Wit 2024-10-29 13:30:35 +01:00 committed by GitHub
parent 09e3784f84
commit 3ef23523b7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -92,10 +92,13 @@
"${url.ssoLoginInOtherTabsUrl?no_esc}"
);
</script>
<script>
// Workaround for https://bugzilla.mozilla.org/show_bug.cgi?id=1404468
const isFirefox;
</script>
</head>
<body id="keycloak-bg" class="${properties.kcBodyClass!}">
<div class="${properties.kcLogin!}">
<div class="${properties.kcLoginContainer!}">
<header id="kc-header" class="pf-v5-c-login__header">