Skip to content

Commit

Permalink
added dummy script tag to prevent FOUC
Browse files Browse the repository at this point in the history
fixes: keycloak#33793
Signed-off-by: Erik Jan de Wit <[email protected]>
  • Loading branch information
edewit committed Oct 25, 2024
1 parent f994cc5 commit 2ca4e39
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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">
Expand Down

0 comments on commit 2ca4e39

Please sign in to comment.